Icontem

jQuery Form Plugin: Validate form fields jQuery plugin

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-04-07 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 584 All time: 26 This week: 67Down
Version License JavaScript version Categories  
jquery-form-plugin 1.0Free For Educatio...1.0Validation, jQuery
Description Author  

This object is a jQuery plugin to validate form fields.

It can take a list of fields and rules to validate a form.

The object supports several types of validation like allowing only letters or numbers, e-mail addresses, or require a minimum length of entered characters.

If one field is invalid, the object may display the associated validation error message within a given page element.

Picture of satyam kumawat
Name: satyam kumawat <contact>
Classes: 4 packages by
Country: India India
Age: 26
All time rank: 81 in India India
Week rank: 58 Down3 in India India Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Details provided by the author  
              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  
  • screenshot1
  • screenshot
  Files folder image Files  
File Role Description
Plain text file plugin.js Class Jquery form validator plugin
HTML file jquery.js Class support file
Accessible without login Plain text file Readme Doc. Instruction to use code
Accessible without login Plain text file test.html Example test file
Accessible without login Plain text file test2.html Example test file 2

 Version Control Unique User Downloads Download Rankings  
 0%Total:584All time:26
 This week:0This week:67Down