CodeIgniter Forums
Form Validation and Error String - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Form Validation and Error String (/thread-18968.html)



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(); ?>