Welcome Guest, Not a member yet? Register   Sign In
form_validation.php in config and conditional validation rules
#2

There is no optional rule in CI.

I defined separate array of rules for each action. 
For example add and update form contents are mostly similar, but anyway I defined 2 separate array of for each of these actions.


PS: I am a junior developer. perhaps there are better methods...
Reply


Messages In This Thread
RE: form_validation.php in config and conditional validation rules - by neuron - 01-30-2018, 11:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB