Welcome Guest, Not a member yet? Register   Sign In
FormUtil library - Auto generate, validate and (re)populate forms
#1

[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!





Theme © iAndrew 2016 - Forum software by © MyBB