PHP Classes

FormGenerator: Generate and validate Web forms

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 478 All time: 5,950 This week: 423Up
Version License PHP version Categories
formgenerator 1.0Artistic License5.0HTML, PHP 5, Validation


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
  Performance   Level  
Name: Kacper Rowinski <contact>
Classes: 14 packages by
Country: Poland Poland
Age: 39
All time rank: 92326 in Poland Poland
Week rank: 76 Up1 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

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  
This week:0
All time:5,950
This week:423Up
User Comments (1)
Very simple, customizable and helpful.
11 years ago (Rodrigo Brandão)