Login   Register  
PHP Classes
elePHPant
Icontem

HTML Form Validator: Validate values submitted via Web page forms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-03-04 (8 years ago) RSS 2.0 feedStarStarStar 50%Total: 1,839 This week: 1All time: 1,991 This week: 1,393Up
Version License Categories  
htmlformvalidator 1.0.0GNU General Public Lice...Validation
Description Author  

This class can be used to validate values submitted via Web forms.

It determines the type validation that it needs to perform using a convention that works by retrieving a number that should be the last character of the submitted form field name.

Currently it performs the following types of field validation:

- The value is not blank
- The value is an e-mail address
- The value is a blank or an e-mail address
- The value is a date
- The value is a blank or a date
- The value is a number
- The value is a blank or a number

When the class finds an invalid field, it can display an error message.

Picture of Pawan Kumar Pandey
Name: Pawan Kumar Pandey <contact>
Classes: 1 package by
Country: Singapore Singapore
Age: 37
All time rank: 14446 in Singapore Singapore
Week rank: 1051 Up2 in Singapore Singapore Up

Screenshots  
  • ScreenShot.JPG
  Files folder image Files  
File Role Description
Plain text file Sample.php Example Sample form with validation
Plain text file FormValidator.php Class form valdiatro

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,839All time:1,991
 This week:1This week:1,393Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:1550