Really Easy Field Validation with Prototype
May 9th, 2006 | Published in JavaScript/AJAX
Really Easy Field Validation with Prototype:
Late last week I was working on a content submission form, and thinking about a good way to add unobtrusive validation using Prototype, similar to what the guys at Particle Tree have talked about in a couple articles earlier. I liked the approach the articles took and went looking for any libraries doing the same thing built on top of Prototype.
Enter Really Easy Field Validation. It lets you do the following with your form elements, using the class attribute to indicate what kind of validation is needed (assumes Prototype 1.5, included with Script.aculo.us 1.6.1):
This is really slick, lots can be done leveraging this library
(Via Ajaxian Blog.)
