Welcome Guest, Not a member yet? Register   Sign In
File Upload Validation
#4

(08-28-2019, 06:16 AM)website Wrote: it's weird, this shouldn't be a error  Undecided

Maybe it could be improved, but it's the way it work.
See: https://codeigniter4.github.io/CodeIgnit...able-rules

Rule is a string; there must be no spaces between the parameters, especially the “is_unique” rule. There can be no spaces before and after “ignore_value”.

“is_unique[supplier.name,uuid, $uuid]” is not ok
“is_unique[supplier.name,uuid,$uuid ]” is not ok
“is_unique[supplier.name,uuid,$uuid]” is ok
Reply


Messages In This Thread
File Upload Validation - by donpwinston - 08-27-2019, 07:17 PM
RE: File Upload Validation - by donpwinston - 08-28-2019, 04:32 AM
RE: File Upload Validation - by website - 08-28-2019, 06:16 AM
RE: File Upload Validation - by includebeer - 08-28-2019, 08:13 AM
RE: File Upload Validation - by website - 08-28-2019, 08:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB