PHP Classes

Validate Fields Class: Perform common types of form field validation

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 68%Total: 3,810 All time: 844 This week: 423Up
Version License Categories
validatefields 1.0BSD LicenseValidation


This class is meant to perform several common types of validation of submitted form field values.

Currently it can validate simple text, numbers, (US) dates, urls, the values of checkboxes and e-mail addresses.

Invalid form fields are listed in a error message class variable.

If all form fields are valid when the form is submitted, the validation function returns a true boolean value.

Picture of Olaf Lederer
  Performance   Level  
Name: Olaf Lederer is available for providing paid consulting. Contact Olaf Lederer .
Classes: 11 packages by
Country: The Netherlands The Netherlands
Age: 52
All time rank: 41 in The Netherlands The Netherlands
Week rank: 349 Down9 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file validation_class.php Class the (main) class source
Accessible without login Plain text file validation_demo.php Example An application to test the whole class
Accessible without login HTML file validation_doc.htm Doc. Information and complete class documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:844
This week:423Up
User Ratings User Comments (1)
 All time
I'm looking for this class.
15 years ago (sherlock homes)