Plugins

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.

live form validation


okValidate

A reasonably sized (12kb uncompressed, 6.8kb minified) form-validation plugin.
Actually it would only be 7 kb uncompressed, and 3.8kb minified, but the
email address and url validator regexps are ginormous (you could easily remove
them if you want to use a lighter regexp).

Usage

okValidate favors convention over configuration. To validate a particular field,
add a class to the field name of one or more validators.

<input class='email required' name='email' type='text' />


This will validate the field with the 'required' and 'email' validators (built-in).

To add additional validators you must add properties to or extend the
$.fn.okValidate.validators object and/or the $.fn.okValidate.messages
object. In order to properly validate, both the validator, and corresponding
messages must have the same key.

jQuery Live Form Validation

Create live form validation in an instant

Features:

  • Supports custom validations
  • Options to toggle between live and on submit validations
  • Completely customizable CSS