What is Combo Validation?
This class is meant to validate HTML forms via PHP and also JavaScript
in the simplest possible way. All you need to do is to create
an array of form fields' information with the required parameters and then
call few methods.
Main features :
- Customizable
- Validation : (defining new field types, overriding validation functions , using regex , etc...)
- 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