PHP Classes
elePHPant
Icontem

HTMLForm: Generate XHTML forms with Javascript validation

Recommend this page to a friend!
  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 (8 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 2,348 All time: 1,599 This week: 961Up
Version License PHP version Categories
htmlform 1.0.0GNU General Publi...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

  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%1
Total:2,348
This week:0
All time:1,599
This week:961Up
 User Ratings  
 
 All time
Utility:79%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:79%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1066