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

(This post was last modified: 10-16-2017, 07:32 AM by natanfelles. Edit Reason: . )

Hi, thanks for reply.

Ok. But I do not want that this fields be "always required".

I have other method, with a db insert, where I'm using the require rule to force the user send the required fields.

But on the update method, I need to update only the data received. If the user send only the email, then I need to validate only it, if sent only the username then only it. Or both if both is received. But on the update I can't force the user send all the fields.
Reply


Messages In This Thread
RE: Form Validation validating blank values with min_length and valid_email rules - by natanfelles - 10-16-2017, 07:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB