Jquery Validate
Name: Nguyen Anh Tuan
From: Framgia Company
Introduction
 This jQuery plugin makes simple clientside form
validation trivial
 The plugin comes bundled with a useful...
Jquery Validate
 Current version: 1.11.1
 Require: jQuery, tested with 1.6.4, 1.7.2, 1.8.3, 1.9.0
 Document:
http://val...
Plugin methods
 validate() – Validates the selected form.
 valid() – Checks whether the selected form or
selected elemen...
Validator
 Validator.form() – Validates the form.
 Validator.element() – Validates a single element.
 Validator.resetFo...
List of built-in Validation methods
 required – Makes the element required.
 minlength – Makes the element require a giv...
Reference
http://jqueryvalidation.org/
http://jquery.bassistance.de/validate/demo/
Upcoming SlideShare
Loading in …5
×

Jquery validate - TuanNA

631 views

Published on

jquery validate plugin

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
631
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Jquery validate - TuanNA

  1. 1. Jquery Validate Name: Nguyen Anh Tuan From: Framgia Company
  2. 2. Introduction  This jQuery plugin makes simple clientside form validation trivial  The plugin comes bundled with a useful set of validation methods  including URL and email validation  providing an API to write your own methods
  3. 3. Jquery Validate  Current version: 1.11.1  Require: jQuery, tested with 1.6.4, 1.7.2, 1.8.3, 1.9.0  Document: http://validation.bassistance.de/documentation/
  4. 4. Plugin methods  validate() – Validates the selected form.  valid() – Checks whether the selected form or selected elements are valid.  rules() – Read, add and remove rules for an element.
  5. 5. Validator  Validator.form() – Validates the form.  Validator.element() – Validates a single element.  Validator.resetForm() – Resets the controlled form.  Validator.showErrors() – Show the specified messages.  Validator.numberOfInvalids() – Returns the number of invalid fields.
  6. 6. List of built-in Validation methods  required – Makes the element required.  minlength – Makes the element require a given minimum length.  maxlength – Makes the element require a given maxmimum length.  email – Makes the element require a valid email  url – Makes the element require a valid url  date – Makes the element require a date.  digits – Makes the element require digits only.  creditcard – Makes the element require a creditcard number.
  7. 7. Reference http://jqueryvalidation.org/ http://jquery.bassistance.de/validate/demo/

×