PHP Classes

A New PHP Form validation: Validate values submitted with Web forms

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 29%Total: 6,271 All time: 350 This week: 180Up
Version License PHP version Categories
validform 1.0Freely Distributable3.0Validation
Description Author

This class can be used to validate values submitted using Web forms.

It takes as parameters the value of submitted form field, a validation rule , validation parameters, and an error message.

The class stores the error message in a class variable when value does not pass the requested validation rule.

Currently it supports the types of validation rules: text, numeric, email, empty, null, scheck, mcheck and select.

Picture of sagar sarkar
Name: sagar sarkar <contact>
Classes: 1 package by
Country: India India
Age: 41
All time rank: 44724 in India India
Week rank: 587 Down35 in India India Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file formcss.css Data css for the error text
Plain text file class.FormValidation.php Class Form validation class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:350
This week:180Up
User Ratings User Comments (2)
 All time
full of bugs
7 years ago (Fuad Hasan)
shouldn't merge HTML and PHP in class.
8 years ago (pooya sabramooz)