Howdy folks. I’ve just released a new version of the RSV library (formerly just dubbed “JS Validation”). Here’s what’s new:

  • the script is now available as a jQuery plugin and a Prototype extension as well as a standalone script, with custom documentation for each.
  • it now uses a CSS class to highlight/de-highlight fields that fail the validation. This is a notable improvement over the former method of assigning styles directly to the style attribute (which could sometimes overwrite styles already on the fields)
  • minor bug fix with computing leap years in the isValidDate function.

Learn more about the script here.