The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
Validation
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.
