File: Readme

Recommend this page to a friend!
  Classes of satyam kumawat   jQuery Form Plugin   Readme   Download  
File: Readme
Role: Documentation
Content type: text/plain
Description: Instruction to use code
Class: jQuery Form Plugin
Validate form fields jQuery plugin
Author: By
Last change:
Date: 12 years ago
Size: 2,435 bytes
 

Contents

Class file image Download
User Guide ( Jquery Form Validation Plugin) Version 1.0 Author Satyam Kumawat <satyam2707@gmail.com > This program is free software. This program is distributed in the hope that it will be useful, This extension is based on jquery. Please Send your suggestion and feedback at satyam2707@gmail.com =============================================================== Please use following steps to use this extension. 1. Include Jquery library first in your web page. 2. Include Jquery helper file as included in test form.php (Demo). 3. Copy the complete function to your web page. 4. Make change to that function according to your requirement. 5. Syntax is case senstive. ============================================================== Required changes ============================================================== 1. Replace form id ('#new_form') in $('#new_form').submit(function( ) with your form id. 2. Make array of form elements in the order they occur in form as I have done in test form.php. =============================================================== Definition of Array =============================================================== 1. Let we want to apply validation on the name field in the form. then we would follow the following array declaration. new array ('element type’,’ element id','other definitions'); Example: new array('text','name','alpha','required'); Note: element type and element id should be placed at 1, 2 positions and other definition can be put in any order. =============================================================== Abbreviations Used =============================================================== 1. alpha => It will accept only alphabetic values including spaces. 2. required => It will check that the element should have value. 3. minlength => It will check the input string length (used during password and phone type validation). 4. email => It will check the valid email address. 5. numeric => It will check the numeric values. Features: 1. Easy to handle. 2. Various types of validatioin support. 3. File upload validation, array type check box validation support. 4. Dynamic error div genration and can add our class easily. 5. Dynamic error div generation support. 6. OOPS support ================================================================