ActiveForm is a JavaScript library, based on Prototype, useful to validate your forms in an automagically and pluggable way.

Automagically? Simply, You have to declare your fields, eventually your error messages, and.. nothing else!!

Pluggable? ActiveForm contains most common validations (regular expressions, presence, conditional presence..), and it performs them in a certain order. If you don’t like this, you can simply redeclare a method, or exclude it from validation process.

Features:

  • Prototype based
  • 100% OOP
  • Total/partial inheriterance
  • Non-Obtrusive scripting
  • Validation modulatity
  • Validation customization
  • Blocking/Non-Blocking validation
  • Dynamic visual style customization for each form element
  • Most common regexps already included (you can extend/override them)
  • Most common validation (you can extend/overrider them)
  • Crossbrowser: tested on IE 6+, FF 2+, NS 8+, Op 9+ on Windows XP and Linux (sorry, for Mac people, but i haven’t access to a Mac OS X machine)

ActiveForm is Free Software, released under the LGPL License.

Read more about ActiveForm.