SlideShare a Scribd company logo
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/

More Related Content

PPTX
Javascript alert and confrim box
PPTX
Introduction to Spring Framework
PPTX
React workshop
PPTX
PPTX
Advance Java Topics (J2EE)
PDF
Html forms
PPT
Javascript arrays
PDF
JavaScript - Chapter 11 - Events
Javascript alert and confrim box
Introduction to Spring Framework
React workshop
Advance Java Topics (J2EE)
Html forms
Javascript arrays
JavaScript - Chapter 11 - Events

What's hot (20)

PPTX
React-JS Component Life-cycle Methods
PPT
PPTX
Files in php
PPT
Oracle Forms- key triggers
PPTX
Basic controls of Visual Basic 6.0
PPTX
Javascript 101
PPTX
Angularjs PPT
PPTX
Oracle Forms to APEX conversion tool
PPT
Spring Batch 2.0
PDF
ES6 presentation
PPT
jQuery Ajax
PDF
Intro to HTML and CSS basics
PPTX
JavaScript
PPT
Angular 8
PDF
The New JavaScript: ES6
PPTX
Spring Framework
PPTX
Automation Testing by Selenium Web Driver
PDF
3. Java Script
PPTX
Html5 and-css3-overview
React-JS Component Life-cycle Methods
Files in php
Oracle Forms- key triggers
Basic controls of Visual Basic 6.0
Javascript 101
Angularjs PPT
Oracle Forms to APEX conversion tool
Spring Batch 2.0
ES6 presentation
jQuery Ajax
Intro to HTML and CSS basics
JavaScript
Angular 8
The New JavaScript: ES6
Spring Framework
Automation Testing by Selenium Web Driver
3. Java Script
Html5 and-css3-overview
Ad

Similar to Jquery validate - TuanNA (20)

PDF
Angular genericforms2
PPTX
Validate your entities with symfony validator and entity validation api
PDF
Qa case study
PPTX
angularJs Workshop
PPTX
ASP.NET MVC controllers
PDF
Case study: Open Source Automation Framework using Selenium WebDriver
PDF
Sample Software Test Report in PDF (Free Download)
PPTX
Bricano Presentation
PDF
Cloud Testing with Browser & Web Service using test injection technique
PPTX
Automated Testing Of EPiServer CMS Sites
PDF
Moogilu qa-case study (Software Testing)
PPTX
OmniFaces validators
PPTX
AngularJs Workshop SDP December 28th 2014
PPT
Automated Testing Of Web Applications Using XML
PDF
User Forms & API integration
PDF
API Testing following the Test Pyramid
PPTX
1.1 Chapter_22_ Unit Testing-testing (1).pptx
ODP
Query Management system-Iv review
PPTX
Spring REST Request Validation
PPT
Testing
Angular genericforms2
Validate your entities with symfony validator and entity validation api
Qa case study
angularJs Workshop
ASP.NET MVC controllers
Case study: Open Source Automation Framework using Selenium WebDriver
Sample Software Test Report in PDF (Free Download)
Bricano Presentation
Cloud Testing with Browser & Web Service using test injection technique
Automated Testing Of EPiServer CMS Sites
Moogilu qa-case study (Software Testing)
OmniFaces validators
AngularJs Workshop SDP December 28th 2014
Automated Testing Of Web Applications Using XML
User Forms & API integration
API Testing following the Test Pyramid
1.1 Chapter_22_ Unit Testing-testing (1).pptx
Query Management system-Iv review
Spring REST Request Validation
Testing
Ad

More from Framgia Vietnam (20)

PDF
Functional Programming With Elixir
PPTX
Dreamers defense
PDF
Timeless - Websocket on Rails
PPTX
Game Development with Pygame
PPTX
Racer Mice - Game Team
PDF
CSS3 Lovers, Gather Together
PDF
Java 8 new features
PPTX
Build public private cloud using openstack
PPT
Introduction to JRuby And JRuby on Rails
ODP
Some ways to DRY in Rails
PPTX
HTML5 DRAG AND DROP
PDF
Create 3D objects insite Cocos2d-x
PPTX
View, Store Procedure & Function and Trigger in MySQL - Thaipt
PPTX
Organize directories for applications with front-end and back-end with yii - ...
ODP
What is new in PHP 5.5 - HuyenNT
PPTX
An idea - NghiaLV
ODP
Audited activerecord - QuanHV
PPT
Delegate - KhanhLD
ODP
Client side validations gem - KhanhHD
PPT
Backbone.js and rails - BanLV
Functional Programming With Elixir
Dreamers defense
Timeless - Websocket on Rails
Game Development with Pygame
Racer Mice - Game Team
CSS3 Lovers, Gather Together
Java 8 new features
Build public private cloud using openstack
Introduction to JRuby And JRuby on Rails
Some ways to DRY in Rails
HTML5 DRAG AND DROP
Create 3D objects insite Cocos2d-x
View, Store Procedure & Function and Trigger in MySQL - Thaipt
Organize directories for applications with front-end and back-end with yii - ...
What is new in PHP 5.5 - HuyenNT
An idea - NghiaLV
Audited activerecord - QuanHV
Delegate - KhanhLD
Client side validations gem - KhanhHD
Backbone.js and rails - BanLV

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Cloud computing and distributed systems.
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Machine learning based COVID-19 study performance prediction
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
KodekX | Application Modernization Development
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Understanding_Digital_Forensics_Presentation.pptx
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Empathic Computing: Creating Shared Understanding
Machine learning based COVID-19 study performance prediction
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
“AI and Expert System Decision Support & Business Intelligence Systems”
Review of recent advances in non-invasive hemoglobin estimation
KodekX | Application Modernization Development
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Weekly Chronicles - August'25 Week I

Jquery validate - TuanNA

  • 1. Jquery Validate Name: Nguyen Anh Tuan From: Framgia Company
  • 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. 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. 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. 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. 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.