Download This class validates form at server side with rules and messages by user. It works as Jquery validation plugin fashion.
When click on form submit button, will make a ajax call and send form data. After validate the data with defined rules, display the error messages
to corresponding input fields which are defined as messages.
Features:
- Server side validation, but looks like client side validation
- Easy to define rules and messages for each input field
- Rules and error messages are define in array format
- It Validates all input types including input type 'file'
- Validation Types:
not_empty, min_length, max_length, alphaonly, alphanumonly, splalphanumonly, ip address,regular expressions, file extensions, date_format, min_date, max_date
|