Welcome Guest, Not a member yet? Register   Sign In
Don't want to return invalid data from form_validation
#1

[eluser]Aidy[/eluser]
Hi,

I am using a couple of custom functions that extend Form_validation. When the data invalid if I have if I use set_value() in my form the data is returned. I've noticed that this is not always the case with the built in functions such as is_natural and valid_email that won't return invalid data. Where as max_lenght[] does.

Trouble is.. having gone through Form_validation.php I can't figure out why! Can anybody help?




Theme © iAndrew 2016 - Forum software by © MyBB