PHP Classes

File: readme.md

Recommend this page to a friend!
  Classes of raghavender   PHP Validation Class   readme.md   Download  
File: readme.md
Role: Documentation
Content type: text/markdown
Description: describes class features
Class: PHP Validation Class
Validate form inputs according to different rules
Author: By
Last change:
Date: 7 years ago
Size: 759 bytes
 

Contents

Class file image 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