Welcome Guest, Not a member yet? Register   Sign In
$this->validator->getValidated() looks stupid and unnecessary
#18

(10-15-2023, 10:35 PM)kenjis Wrote: If it is optional (checkbox seems to be optional in most cases), add the permit_empty rule.

PHP Code:
'permit_empty|in_list[1]' 

If it won't work, it is a bug.

permit_empty did the trick. thanks man. appreciate that. (y)
Reply


Messages In This Thread
RE: $this->validator->getValidated() looks stupid and unnecessary - by MrWhite - 10-15-2023, 11:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB