CodeIgniter Forums
Extending The Form Validation Library - 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: Extending The Form Validation Library (/showthread.php?tid=58357)



Extending The Form Validation Library - El Forum - 06-05-2013

[eluser]ShoeLace1291[/eluser]
My forms use the form validation library to validate the user input. If there are errors, I use a fieldset to group the errors together. The problem with that is that even with no errors, the fieldset displays without anything inside of it. To solve this problem, I figured I could extend the form validation library to use group delimiters.

In the form helper, I see that it uses a function called error_string to display the errors from within the helper. Where is error_string located? I can't seem to find it in either the form helper or in the form validation library. Any ideas?

PS: I found error_string(). Keep this topic open in the event that I need more assistance! Lol.