Login   Register  
PHP Classes
elePHPant
Icontem

Custom Form Validation

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

  Author  
Picture of johno dread
Name: johno dread is available for providing paid consulting. Contact johno dread .
Packages: 5 Browse all classes by johno dread Browse all classes by
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 1143153 in United States United States
Week rank: 816 Up86 in United States United States Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to validate form values according to several rules.

It can check field values of forms submitted using the POST method and perform several types of validation.

Invalid values are associated to given error messages.

Currently it can validate field values with rules: has alphanumeric characters, is a date or time, is an e-mail, has only numbers, has an exact or minimum length, is different from another field, is not empty, is a phone number, is an URL, or is an social security number.

It may also clean values to prevent cross-site scripting attacks.

  Classes of johno dread  >  Custom Form Validation  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Custom Form Validation
Base name: form-validation
Description: Validate form values according to several rules
Version: 1.0
PHP version: 5.0
License: GNU Free Documentation License (FDL)
All time users: 656 users
All time rank: 4196
Week users: 2 users
Week rank: 1303 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  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.
  Files folder image Files  
File Role Description
Files folder imageclasses (5 files)
Files folder imageforms (3 files)
Files folder imagejs (1 file)

  Files  /  Files folder image classes  
File Role Description
  Accessible without login Plain text file ajax.php Aux. Process post value before it gets submitted
  Accessible without login Plain text file register.php Example Demonstrates validating all fields on a registration form
  Accessible without login Plain text file sign_in.php Example Demonstrates validating a simple form
  Accessible without login Plain text file test_comment.php Example Demonstrate removing all script(eg. <?php, <script> etc..) tags comment form.
  Plain text file validation.php Class main class

  Files  /  Files folder image forms  
File Role Description
  Accessible without login Plain text file comment_form.php Aux. Comment form
  Accessible without login Plain text file user_profile.php Aux. Demonstrates a complex registration form
  Accessible without login Plain text file user_signin.php Aux. sign in form

  Files  /  Files folder image js  
File Role Description
  Accessible without login Plain text file jquery.js Data script

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