Welcome Guest, Not a member yet? Register   Sign In
Form Validation
#3

(04-06-2016, 09:23 AM)Narf Wrote: It will return true, but that's what is supposed to happen - the 'required' rule in that case is applied on any elements that the input array may have.

Thanks for the answer.

So how would you require an array that has a least one value without being able to bypass it with an empty array?
Reply


Messages In This Thread
Form Validation - by coldlamper - 04-06-2016, 06:52 AM
RE: Form Validation - by Narf - 04-06-2016, 09:23 AM
RE: Form Validation - by coldlamper - 04-06-2016, 09:32 AM
RE: Form Validation - by Narf - 04-06-2016, 09:51 AM
RE: Form Validation - by albertleao - 04-06-2016, 08:00 PM
RE: Form Validation - by coldlamper - 04-07-2016, 07:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB