Not wanting to re-invent the wheel or anything, I was wondering if there's a plugin out there a field or form validation plugin that works with Prototype that you can recommend from your own experience and why?
+3
A:
I like Ben Keen's Really Simple Validation component.
Features I like:
All the validation rules can be kept within javascript so you're not adding class="required" to your HTML code.
You can display error messages in a javascript alert box or with HTML text.
Adding your own extensions is easy.
http://www.benjaminkeen.com/software/rsv/
Note that I've only used the jQuery version, but a Prototype version is also available.
looks interesting, I will investigate.
Sam Murray-Sutton
2008-11-05 16:12:09
A:
I like wforms. Example:
<input type="text" name="myDate" class="validate-date"/>
Chase Seibert
2008-11-06 02:48:03
The class "validate-date" is automatically picked up and validated as a date when wforms is configured correctly.
Chase Seibert
2009-07-08 12:58:19
although that looks like a fairly good plugin, I'm slightly worried by the fact that it's not been updated for a while.
Sam Murray-Sutton
2008-11-07 15:49:41