• Save
Jquery validate - TuanNA
Upcoming SlideShare
Loading in...5
×
 

Jquery validate - TuanNA

on

  • 643 views

jquery validate plugin

jquery validate plugin

Statistics

Views

Total Views
643
Views on SlideShare
643
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Jquery validate - TuanNA Jquery validate - TuanNA Presentation Transcript

    • 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 set of validation methods  including URL and email validation  providing an API to write your own methods
    • 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/
    • 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.
    • 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.
    • 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.
    • Reference http://jqueryvalidation.org/ http://jquery.bassistance.de/validate/demo/