Validatious 2.0

Easy form validation with unobtrusive JavaScript

Class names

The reporting module uses three class names that you can hook up to through CSS, or change:

Before validation

After failed validation

  • Name is required
  • E-mail should be a valid email address

After successful validation

Assuming v2.Field.prototype.successClass = 'success';, and the name field is now valid:

  • E-mail should be a valid email address

Before validation, grouped validations

After failed validation, grouped validations

  • Name is required
  • Email should be a valid email

After successful validation, grouped validations

Assuming v2.Fieldset.prototype.successClass = 'success';, and both fields are now valid:

Next: Limit number of errors | Back to Reporting extension features index

© 2008 Christian Johansen. Validatious is licensed with a BSD License, documentation and site content with CC Attribution-Share Alike. About.