Login   Register  
PHP Classes
elePHPant
Icontem

Combo Validation: Validates Web forms on browser and server side

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 982 All time: 3,404 This week: 1,504Up
Version License PHP version Categories  
combovalidation 1.0.14GNU General Public Lice...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: 124813 in Iran Iran
Week rank: 1821 Down39 in Iran Iran Down

Screenshots  
  • 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 validationV1.class.inc.php Class Version 1 mode class
Plain text file validation.class.inc.php 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 includes.inc.php 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 classesCore.class.inc.php Class Main parent class
  Plain text file common.inc.php Class Require functions
  Plain text file compatibility.inc.php 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:982All time:3,404
 This week:0This week:1,504Up
User Ratings User Comments (2)  
 All time
Utility:83%StarStarStarStarStar
Consistency:66%StarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:680
 
not work, generate all 500 error .
3 years ago (allnet4u)
30%StarStar
not work, generate all 500 error .
3 years ago (allnet4u)
30%StarStar