Pliant is a jQuery plugin for form validation, that tries to be very flexible as far as validation rules are concerned. It also allows defining rules via HTML comments.
Pliant - Features:
Central, or field specific rule definitions.
Rule inheritance and property overriding.
Validation on field change.
Field/Rule validation chaining.
Apply validation on init, after init, or via HTML comments.
Control field/rule message locations globally, or per field/rule instance.
Control the form valid