Welcome Guest, Not a member yet? Register   Sign In
FYI on blank validation error_string
#1

[eluser]cynge[/eluser]
It took me a little bit to look this up in the code after I didn't find anything in the forum so I thought I would add this...

If your form_validation is invalid but you aren't getting any error data back (e.g. $this->form_validation->error_string() or validation_errors() is empty) it is most likely because no data is being sent through POST. If $_POST is blank form_validation->run will return FALSE and not run any validation rules.




Theme © iAndrew 2016 - Forum software by © MyBB