Login   Register  
PHP Classes
elePHPant
Icontem

Validation on General Form Fields: Output form with Javascript based field 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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-12-22 (9 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,465 All time: 2,487 This week: 1,557Up
Version License Categories  
validate_form 1.0FreewareHTML, Validation
Description Author  

This class can be used to generate Web forms with Javascript based client side validation.

It can generate the HTML tags for starting and ending forms with one or more fields. The supported types of fields are: text, password, checkbox, select and submit.

Additionally it can generate a Javascript function named validate that should be embedded in the form page so it can be called when the form is submitted to validate the form.

If there are any required fields that are not set, the validate function opens an alert window to tell the user which field needs to be set.

Picture of Ashish Vishwakarma
Name: Ashish Vishwakarma <contact>
Classes: 3 packages by
Country: India India
Age: 33
All time rank: 65732 in India India
Week rank: 923 Down67 in India India Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file Test.php Example Example File
Plain text file validate.class.php Class Class Source

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,465All time:2,487
 This week:0This week:1,557Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1259