Login   Register  
PHP Classes
elePHPant
Icontem

Form Validator: Validate values submitted via Web forms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Andrzej Pomian
Name: Andrzej Pomian <e-mail contact>
Packages: 1 Browse all classes by Andrzej Pomian Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 32
All time rank: 40311 in Poland Poland
Week rank: 1298 Down37 in Poland Poland Down


  Detailed description   Download Download .zip .tar.gz  
This class is meant to provide server side validation of field values submitted via Web forms.

It can validate fields on following criteria:

- Required field
- Content ( email, digit, alpha, alpha-numeric )
- Own perl or posix regular expression
- Length ( min, max, equal )
- Only defined values ( for select, radio and checkbox )
- Forbidden values
- Field values dependecies
* Value can only exist with other field(s)
* Value must be equal to other field(s) ( ex. password verification )
* Value must exists OR/XOR other value(s)
- It handles fields named like an array ( ex. radiobox/checkbox )
- It can highlight the invalid fields ( with Smarty templates )
- It can return an array which information which fields were invalid ( with field name, or logical name )

  Classes of Andrzej Pomian  >  Form Validator  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Form Validator
Base name: formvalidator
Description: Validate values submitted via Web forms
Version: -
PHP version: -
License: BSD License
All time users: 6286 users
All time rank: 310
Week users: 1 user
Week rank: 1808 Down
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (72.2%) Sufficient (77.8%) - Sufficient (70.8%) - - Not sure (51.0%) 1525
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Smarty Smarty templates engine

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of usage
Plain text file FormValidator.class.php Class Main class

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