Skip to content


Subversion checkout URL

You can clone with
Download ZIP
jQuery Validation Plugin
Branch: master
Failed to load latest commit information.
build Build: Extend release checklist; fix publishing to npm
demo Demos: Add new demo, contributed by Marcus Kästner
lib Core: Use jQuery 1.7+ on/off, add destroy method
src Core: Added precondition to call isValidElement method
test Test: Fix misuse of `equal` method & some spacing issues.
.editorconfig Use LF to match jQuery Styleguide
.gitattributes Use LF to match jQuery Styleguide
.gitignore Build: Cleanup gitignores, jscs settings, package descriptions
.jscsrc Build: Cleanup gitignores, jscs settings, package descriptions
.jshintignore JSHint: Extract configuration to dotfiles
.jshintrc Build: Bump and merge JSHint/JSCS config
.travis.yml Build: Speedup travis builds CONTRIBUTING: Added a hint on how to run testsuite using a browser.
Gruntfile.js Build: Only concat when running grunt-watch Build: Add a copy of the MIT license README: Replace pledgie link with 'Looking for maintainers'
bower.json Core: Use jQuery 1.7+ on/off, add destroy method Build: Prepare 1.14.0 release
package.json Build: Updating the master version to 1.14.1-pre.
validation.jquery.json Build: Cleanup gitignores, jscs settings, package descriptions

jQuery Validation Plugin - Form validation made easy

Build Status devDependency Status Join the chat at

The jQuery Validation Plugin provides drop-in validation for your existing forms, while making all kinds of customizations to fit your application really easy.

⚠️ Looking for maintainers ⚠️

This project is looking for one or more maintainers. This mostly involves triaging issues, reviewing pull requests, and occasionally fixing bugs or finishing a feature implementation. If you're interested, please get in touch.

Getting Started

Downloading the prebuilt files

Prebuilt files can be downloaded from

Downloading the latest changes

The unreleased development files can be obtained by:

  1. Downloading or Forking this repository
  2. Setup the build
  3. Run grunt to create the built files in the "dist" directory

Including it on your page

Include jQuery and the plugin on a page. Then select a form to validate and call the validate method.

    <input required>
<script src="jquery.js"></script>
<script src="jquery.validate.js"></script>

Alternatively include jQuery and the plugin via requirejs in your module.

define(["jquery", "jquery.validate"], function( $ ) {

For more information on how to setup a rules and customizations, check the documentation.

Reporting issues and contributing code

See the Contributing Guidelines for details.

IMPORTANT NOTE ABOUT EMAIL VALIDATION. As of version 1.12.0 this plugin is using the same regular expression that the HTML5 specification suggests for browsers to use. We will follow their lead and use the same check. If you think the specification is wrong, please report the issue to them. If you have different requirements, consider using a custom method.


Copyright © Jörn Zaefferer
Licensed under the MIT license.

Something went wrong with that request. Please try again.