PHP Classes

FormGenerator: Generate and validate Web forms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-04-16 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 456 This week: 1All time: 5,723 This week: 1,063Up
Version License PHP version Categories  
formgenerator 1.0Artistic License5.0HTML, PHP 5, Validation
Description Author  

This class can generate and validate Web forms.

It can add inputs of many types to the definition of a form, like: text, file, hidden, CAPTCHA, textarea, select, button and checkbox.

The class can verify if the form was submitted and perform validation on each input.

Several types of validation are supported, like: non-empty text, CAPTCHA, alpha-numeric text, date, number, IP, URL, e-mail and checked checkbox.

Picture of Kacper Rowinski
Name: Kacper Rowinski <contact>
Classes: 5 packages by
Country: Poland Poland
Age: 32
All time rank: 142639 in Poland Poland
Week rank: 579 Up17 in Poland Poland Up
Innovation award
Innovation award
Nominee: 1x

Simple PHP class to dynamically create html form with validation. 

In example we have 2 css that you can start with.
  • css_example2.png
  • css_example1.png
  Files folder image Files  
File Role Description
Files folder imagecss (2 files)
Accessible without login Plain text file example.php Example Example script
Plain text file formGenerator.php Class Class source
Accessible without login Plain text file README Data Documentation

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file minimalistic_form.css Data Auxiliary data
  Accessible without login Plain text file other_form.css Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 71%Total:456All time:5,723
 This week:1This week:1,063Up
 User Comments (1)  
Very simple, customizable and helpful.
3 years ago (Rodrigo Brandão)