PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 2,373 This week: 1All time: 1,644 This week: 560Up
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
Age: 39
All time rank: 2067 in Italy Italy
Week rank: 411 Down18 in Italy Italy Down

  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,373
This week:1
All time:1,644
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:67%StarStarStarStar
Documentation:64%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1527