Login   Register  
PHP Classes

HTMLForm: Generate XHTML forms with Javascript validation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-11-18 (7 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 2,310 All time: 1,574 This week: 1,330Up
Version License PHP version Categories  
htmlform 1.0.0GNU General Public Lice...4.3HTML, Validation
Description Author  

This class can be used to generate XHTML forms with Javascript to perform client side validation.

It can compose a form added all the types of basic HTML form inputs. It also provides convenience functions for adding input for specific purposes, like password and confirmation inputs and password change inputs.

There is a separate class to implement advanced text are inputs.

The class automatically generates the form HTML with Javascript code for browser side validation. It uses a table based layout, using HTML templates built in the class.

The class supports several types of validation based on regular expressions.

Server side validation is also possible with a separate script. That script also takes care of file uploading saving the files to a given directory, eventually generating thumbnails in the case of image file uploads.

Picture of Michele Castellucci
Name: Michele Castellucci <contact>
Classes: 4 packages by
Country: Italy Italy
Age: 30
All time rank: Not yet ranked
Week rank: 30617 in Italy Italy

  Files folder image Files  
File Role Description
HTML file file_HTMLForm.php.html Doc. Documentation of the HTMLForm.php file in Italian
Plain text file functions.inc.php Aux. vary methods
HTML file HTMLForm.html Doc. Documentation of the class in Italian
Accessible without login Plain text file HTMLForm.php Class The main class
Plain text file HTMLForm.txt Doc. Documentation in Italian
Plain text file index.php Example Example using the class
Plain text file style.css Data CSS example styles for form inputs
Plain text file users.sql Data Example Mysql table where data is inserted
Plain text file verimage.php Aux. Generate a CAPTCHA image

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:2,310All time:1,574
 This week:0This week:1,330Up
 User Ratings  
 All time