rickharrison/validate.js — pull request #18 by AlanHietala (2012-02-13 21:20:53+00:00)
Title: Added form highlighting and some refactoring to the validation functions. 

I've added input field highlighting to the library.

the class that gets set on the inputs is configured through defaults.errorClass.

I have also refactored the validation function into smaller functions that handle one task only. This increases readability and decouples validation from getting error messages associated with a field.