Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Validation


Average rating
(32 votes)

Setup powerful client-side form validation. From a protoype in a few minutes to heavily customized validation rules, methods and messages.

Validate forms like you've never been validating before!

Features

  • Easy to setup
  • 19 built-in validation methods, more in addition
  • Inline-error-message display (no more alerts!), heavily customizable
  • Extensible: Add your own validation methods and reuse them
  • Use inline metadata or plugin options to specify your validation rules
  • Carefully designed interaction: Doesn't annoy users with errors they hadn't a chance to fix, but gives them feedback as early as possible when fixing errors, via filtered keyup and blur events on each field

But doesn't jQuery make it so very easy to write your own validation plugin?
Sure, but there still are a lot of subtleties that you have to worry about: You need a standard library of validation methods (think of emails, URLs, credit card numbers). You need to place error messages in the DOM and show and hide them when appropriate. You want to react to more then just a submit event, like keyup and blur.
You may need different ways to specify validation rules, based on the server-side enviroment you are using on different projects. And after all, you don't want to reinvent the wheel, do you?

But aren't there already a ton of validation plugins out there?
Right, there are a lot of non-jQuery-based solutions (which you'd avoid since you found jQuery) and some jQuery-based solutions. This particular one you are looking at is one of the oldest jQuery plugins (started in July 2006) and proved itself in projects all around the world. There is also an article discussing how this plugin fits the bill of the should-be validation solution.

Releases

Official releasesDateSizeLinksStatus
1.4.02008-Aug-08211.82 KBRecommended for 1.2.xThis is currently the recommended release for 1.2.x.

Support