PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 29%Total: 6,285 All time: 347 This week: 70Up
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: 43
All time rank: 44824 in India India
Week rank: 216 Up14 in India India Up

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,285
This week:0
All time:347
This week:70Up
User Ratings User Comments (2)
 All time
Utility:41%StarStarStar
Consistency:44%StarStarStar
Documentation:-
Examples:44%StarStarStar
Tests:-
Videos:-
Overall:29%StarStar
Rank:4341
 
full of bugs
9 years ago (Fuad Hasan)
0%Star
shouldn't merge HTML and PHP in class.
10 years ago (pooya sabramooz)
5%Star