![]() |
FormUtil library - Auto generate, validate and (re)populate forms - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: FormUtil library - Auto generate, validate and (re)populate forms (/showthread.php?tid=56791) |
FormUtil library - Auto generate, validate and (re)populate forms - El Forum - 01-20-2013 [eluser]Unknown[/eluser] About FormUtil is a library, in which you can easily generate, validate and (re)populate a form. All you do is initialize the form with the input items (including labels, validation rules etc.) in the controller, add a single line of code in the view and FormUtil will do all the work for you! Click here for an example and documention. You can find a link to the source there too. Features - All form initialization/validation in one place - Automatic validation when form is submitted - Automatic repopulation of the form if validation was unsuccessfull - Supports multiple forms on one page - Supports multiple templates and template switching is easy - Possibility to include a wysiwyg editor I mainly made it to simplify making and validating a form to update records in a database, but it could also be used for normal forms or questionaires/polls/ If you have any comments or suggestion, please post it down here! |