CodeIgniter Forums
Print form labels in validation error messages - 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: Print form labels in validation error messages (/thread-7590.html)



Print form labels in validation error messages - El Forum - 04-15-2008

[eluser]Atasa[/eluser]
I am actually working on a validating a dynamic form created from a database table.
When the validation runs false I just show the validation message only.
I want to be able to show the user in which field exactly the error happened.
Showing the form field name doesn't help much because he cannot figure out where
the error was actually.
Any one has done this before?