FormHandler is a PHP written "module" which allows you to create dynamic forms in an easy way. So easy that you can build a fully working form, including field validations, within 10 lines!
Why is FormHandler Built?
Let me introduce myself first. I am Teye Heimans, 21 years old and my proffesion is building webapplications. At least 40% of those applications consists of forms. To write all these forms is an irritating and time-taking job. That's why I made the FormHandler.
In the beginning it was a simple class which could generate some fields. After sharing it with some friends I decided to put it on the internet, and here it is. Version 1 is downloaded over 5000 times and version 3 is currently in the make. (Version 2 was never launched, it was to complex).
Some advantages of FormHandler
With FormHandler you can:
Very easy to generate a form
Easy to save/edit data from a database
Easy to validate the values
You can use templates!
The form is generated by the XHTML 1.0 standard
Possibility to change to style of the form
Possibility to add CSS / Javascript to the fields
The size FormHandler is only +/- 256 kb (server side)! (without the FCKeditor files)
There can be generated special fields (like datefields)
It's very easy to upload files
Possibility to generate an online text editor!
It's completely FREE!
Sounds good huh? So, what are the requirements?
To use the FormHandler you must have a webserver with PHP version 4.0.6 or higher installed. To use some fields the visitor needs to have a browser which supports JavaScript.
If you want to use the database options of the class, you need a database.
How does the FormHandler actually work?
The FormHandler generates a form and shows this to the visitor. After the visitor has filled in his "data" the form is sent (to itself). The class validates the values (if wanted, with your own validate function).
When all the data is correct, the data is saved (if wanted) and your 'commit after form' function is called. In this function you can do whatever you want...
Latest change: 03 March 06 / 13:36