Recommend this page to a friend! |
Download .zip |
Info | Screenshots | View files (5) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2012-04-07 (4 years ago) | Not enough user ratings | Total: 594 | All time: 28 This week: 14 |
Version | License | JavaScript version | Categories | |||
jquery-form-plugin 1.0 | Free For Educatio... | 1.0 | Validation, jQuery |
Description | Author | |
This object is a jQuery plugin to validate form fields. |
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 ================================================================ |
Screenshots | ||
Files |
File | Role | Description |
---|---|---|
plugin.js | Class | Jquery form validator plugin |
jquery.js | Class | support file |
Readme | Doc. | Instruction to use code |
test.html | Example | test file |
test2.html | Example | test file 2 |
jquery-form-plugin-2012-04-07.zip 193KB | |
jquery-form-plugin-2012-04-07.tar.gz 193KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.