PHP Classes

Combo Validation: Validates Web forms on browser and server side

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-08-10 (6 years ago) RSS 2.0 feedStarStarStarStar 62%Total: 995 All time: 3,438 This week: 1,280Up
Version License PHP version Categories  
combovalidation 1.0.14GNU General Publi...4.3HTML, Validation
Description Author  

This class can be used to validate Web forms both on browser and server side.

It can generate to validate forms on the browser side before the forms are submitted. It can also validate forms on the server side using the class own PHP code.

Currently it supports several built-in validation types like: empty fields, e-mail address, URL, numeric value within optional range, length between a range, etc..

The way that errors are displayed after browser side validation is configurable and it works the same way in different browsers.

List of features :
---* Customizable
----------o Validation : (defining new field types, overriding validation functions , using regex , etc...)
----------o View : ability to choose between various ways of showing errors. currently "alert,div , nearFields, pageCenterDiv, formCenterDiv ,customizedDiv" are supported out of the box. and it's also possible to override the display function and show errors in the way you want.
---* Cross browser (IE6+, Firefox2+, Opera7+, Safari3+, All Mozilla based browsers)
---* Very well tested. More than 30 projects are currently using it
---* Easily integrate able , All of the PHP functions used in the class have prefix and also accepts prefix for JavaScript for preventing conflict with other JavaScript in the application
---* Ajax support : No official Ajax support at the moment but since you can completely overwrite the built in validation functions and error display functions you can do the validation with your own Ajax framework
---* Light weight : Because it does not use any JavaScript framework.
---* Extensible : Some design patterns like factory and chain of commands have been used in both JavaScript and PHP sides for ease of extensibility. Code is documented and also name of all of the methods and functions are self described.
---* PHP 4 & 5 compatible
---* Multilingual
---* XHML Valid

Picture of sinasalek
Name: sinasalek <contact>
Classes: 2 packages by
Country: Iran Iran
Age: ???
All time rank: 127414 in Iran Iran
Week rank: 1767 Down46 in Iran Iran Down

  • screenshot/Simple.jpg
  • screenshot/custom_display_inline_div.jpg
  • screenshot/Custom_display_form_center.jpg
  • screenshot/Custom_display_Custom_Div.gif
  • screenshot/Custom.jpg
  Files folder image Files  
File Role Description
Files folder imagedocumentation (1 file)
Files folder imageexamples (5 files)
Files folder imagelib (4 files)
Plain text file Class Version 1 mode class
Plain text file Class Factory class
Accessible without login Plain text file readme.txt Doc. Readme
Plain text file license.txt Lic. License

  Files folder image Files  /  documentation  
File Role Description
  HTML file index.html Doc. Tutorial

  Files folder image Files  /  examples  
File Role Description
  Plain text file customizedView.php Example Custom view
  Plain text file customValidation.php Example Custom validation
  Plain text file Example Including class dependencies
  Plain text file index.php Example List of examples
  Plain text file simpleUsage.php Example Simple usage

  Files folder image Files  /  lib  
File Role Description
  Plain text file Class Main parent class
  Plain text file Class Require functions
  Plain text file Class Require functions for PHP4 backward compatibility
  Plain text file PEAR.php Class PEAR main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:995All time:3,438
 This week:0This week:1,280Up
User Ratings User Comments (2)  
 All time
not work, generate all 500 error .
4 years ago (allnet4u)
not work, generate all 500 error .
4 years ago (allnet4u)