FYI on blank validation error_string - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: FYI on blank validation error_string (/showthread.php?tid=13172) |
FYI on blank validation error_string - El Forum - 11-13-2008 [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. |