PHP Classes

HTML Form Validator: Validate values submitted via Web page forms

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 1,881 All time: 2,096 This week: 423Up
Version License Categories
htmlformvalidator 1.0.0GNU General Publi...Validation


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: 47
All time rank: 15656 in Singapore Singapore
Week rank: 653 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  
This week:0
All time:2,096
This week:423Up
 User Ratings  
 All time