Welcome Guest, Not a member yet? Register   Sign In
Form Validation validating blank values with min_length and valid_email rules
#12

(This post was last modified: 10-17-2017, 10:00 AM by natanfelles. Edit Reason: . )

(10-16-2017, 10:04 AM)Narf Wrote: It's not a "fail", whatever you mean by that.

I don't understand why you'd have to validate again all the fields?

Fail because the Validation accepts a blank value as a valid_email or when we have a min_length[1] rule.

Fail because '' is not a Valid Email and '' have 0 length.

I said that I would need to validate again because Form Validation would fail by accepting blank values.
Reply


Messages In This Thread
RE: Form Validation validating blank values with min_length and valid_email rules - by natanfelles - 10-17-2017, 09:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB