- Notifications
You must be signed in to change notification settings - Fork0
farooqaaa/jquery-validation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
jQuery Validation Plugin - Form validation made easy
The jQuery Validation Plugin provides drop-in validation for your existing forms, while making all kinds of customizations to fit your application really easy.
Prebuilt files can be downloaded fromhttp://jqueryvalidation.org/
The unreleased development files can be obtained by:
- Downloading or Forking this repository
- Setup the build
- Run
grunt
to create the built files in the "dist" directory
Include jQuery and the plugin on a page. Then select a form to validate and call thevalidate
method.
<form><inputrequired></form><scriptsrc="jquery.js"></script><scriptsrc="jquery.validate.js"></script><script>$("form").validate();</script>
Alternatively include jQuery and the plugin via requirejs in your module.
define(["jquery","jquery.validate"],function($){$("form").validate();});
For more information on how to setup a rules and customizations,check the documentation.
See theContributing Guidelines for details.
IMPORTANT NOTE ABOUT EMAIL VALIDATION. As of version 1.12.0 this plugin is using the same regular expression that theHTML5 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, considerusing a custom method.In case you need to adjust the built-in validation regular expression patterns, pleasefollow the documentation.
Copyright © Jörn Zaefferer
Licensed under the MIT license.
About
jQuery Validation Plugin
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- JavaScript68.2%
- HTML23.0%
- CSS8.2%
- PHP0.6%