I just resealed version 9.0 of validate.js, lots of improvement. I expect future changes up to 1.0 to be mostly unit tests additions and bug fixes.
Sorry for the lack of documentation, I don't have a lot of free time. Contributors are welcome.
Changes log.
-
added class attribute initialization (only support default callback function)
-
enhanced default validation callback function, now support error message display before or after the input
-
fixed form validation
-
added default (demos) styles (see tests/index.html)
-
added form validation tests
-
added validation error messages (english)
-
added isUnModified
-
removed isValidEmpty, isValidNotEmpty, isValidRequired because of their ambiguity
-
removed isRequired (use isNotEmpty instead)
-
code cleanup, optimizations, added some comments
-
Added unit tests
-
Added prototype.js (needed for unit tests)
-
Fixed isValidEmail validation problem with 2 characters domains