|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2012-04-07 (3 years ago)||Not enough user ratings||Total: 586||All time: 27 This week: 38|
|jquery-form-plugin 1.0||Free For Educatio...||1.0||Validation, jQuery|
This object is a jQuery plugin to validate form fields.
User Guide ( Jquery Form Validation Plugin) Version 1.0 Author Satyam Kumawat <email@example.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 firstname.lastname@example.org =============================================================== 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 ================================================================
|Install with Composer|
|Version Control||Unique User Downloads||Download Rankings|
|This week:||0||This week:||38|