PHP Classes
Icontem

Class: Form Validator


  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrzej Pomian  >  Form Validator  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Form Validator Support forum
Base name: formvalidator
Description: Validate values submitted via Web forms
Related top rated classes: ,
Version: -
Required PHP version: -
License: BSD License
All time users: 5791 users
All time rank: 233
Week users: 11 users
Week rank: 760
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Andrzej Pomian
Name: Andrzej Pomian <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Home page: ???
Age: 28
All time rank: 314
Week rank: 735

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

Detailed description

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 )

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (70.6%)
Sufficient (76.5%)
-
Sufficient (69.1%)
-
-
Not sure (49.9%)
1360
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

File Role Description
Plain text file example.php Example Example of usage
Plain text file FormValidator.class.php Class Main class
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2010 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products