CodeIgniter Forums
Form Validation and 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: Form Validation and Error String (/showthread.php?tid=18968)



Form Validation and Error String - El Forum - 05-23-2009

[eluser]MishaBear[/eluser]
Hello people!

I wanted to ask if there is a way to show ALL errors found in the form validation. Outputting just error_string as shown in the docs returns only the first error encountered in the validation.

Is there something or I can parse the _error_array by myself?

Thanks!


Form Validation and Error String - El Forum - 05-24-2009

[eluser]Dam1an[/eluser]
As per the user guide
Code:
<?php echo validation_errors(); ?>