PHP Classes

HTML Form Validator: Validate values submitted via Web page forms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (9 years ago) RSS 2.0 feedStarStarStar 50%Total: 1,859 This week: 1All time: 2,007 This week: 1,035Up
Version License Categories  
htmlformvalidator 1.0.0GNU General Publi...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: 38
All time rank: 14856 in Singapore Singapore
Week rank: 838 Up2 in Singapore Singapore Up

  • 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,859All time:2,007
 This week:1This week:1,035Up
 User Ratings  
 All time