PHP Classes

PHP Forms Generator and Validation: Generate and validate HTML forms dynamically

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,015 All time: 3,606 This week: 148Up
Version License PHP version Categories
ptcforms 0.9.2GNU General Publi...5.3HTML, PHP 5


This class can generate and validate HTML forms dynamically.

It can compose the definition of a HTML form adding inputs, labels, input containers and validation rules.

The class can generate HTML to display the defined form.

It can also validate the submitted input values according to the defined validation rules.

It returns the list of inputs with validation errors when form values are not completely valid.

Picture of Carlo Pietrobattista
  Performance   Level  
Name: Carlo Pietrobattista <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 44
All time rank: 121547 in Italy Italy
Week rank: 578 Up25 in Italy Italy Up

  Files folder image Files  
File Role Description
Files folder imageexamples (5 files)
Files folder imageui-plugins (3 files)
Plain text file PtcEvent.php Class event dispatcher component used by example 4
Plain text file PtcForm.php Class dynamic HTML forms generator/validator component

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file ptcform-ex1.php Example html form generator login form example file
  Accessible without login Plain text file ptcform-ex2.php Example html form generator contact form example file
  Accessible without login Plain text file ptcform-ex3.php Example html form generator registration form example file
  Accessible without login Plain text file ptcform-ex4.php Example html form generator example file using event listeners
  Accessible without login Plain text file ptcforms-ui-plugins.php Example jquery-ui plugins includes file for form examples

  Files folder image Files  /  ui-plugins  
File Role Description
  Accessible without login Plain text file ptc-forms-ui.js Data Plugin to add jquery-ui styles to form fields
  Accessible without login Plain text file ptc-forms-validator.js Data Plugin to validate form with jquery validator
  Accessible without login Plain text file README Data readme file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,606
This week:148Up
User Comments (1)
Wow, very good and useful class ! loool The code mayne more ...
10 years ago (Josť Filipe Lopes Santos)