Login   Register  
PHP Classes
elePHPant
Icontem

Class: Validate Fields Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Olaf Lederer  >  Validate Fields Class  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Validate Fields Class
Base name: validatefields
Description: Perform common types of form field validation
Related classes: , , , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 3515 users
All time rank: 764
Week users: 3 users
Week rank: 1216
Picture of Olaf Lederer
Author: Olaf Lederer is available for providing paid consulting. Contact Olaf Lederer .
Packages: 10 Browse this author's classes Browse this author's classes
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 40
All time rank: 41 in The Netherlands The Netherlands
Week rank: 18 Down2 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
Group folder image Validation Validation algorithms View top rated classes

  Freshmeat project   Rate classes User ratings   Applications   Files Files  

  Freshmeat project  
Project record: valid_fields
Popularity score: 22.63
Vitality score: 2.9

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (86.1%)
Good (81.9%)
Good (84.7%)
Good (87.5%)
-
-
Sufficient (68.5%)
261
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
Demo (testpage) Use this small application to try some validation
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file validation_class.php Class the (main) class source
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

Download all files: validatefields.tar.gz validatefields.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.