On Thu, Jul 8, 2010 at 3:35 AM, Richard Jones <[email protected]> wrote:
> On 08/07/2010 01:50, Ron Savage wrote:
>> Hi Folks
>>
>> I don't remember this code being discussed on this list before.
>>
>>> From http://blog.jc21.com/ you can download a JS library for YUI or
>> Prototype which allows amazingly simple JS-level validation of form
>> fields.
>>
>> A five star rating from me.
>
> Looks good. However the field error message is visible when the mouse
> cursor hovers over the textbox, as they have used title="foo" in their
> html. So it's a little confusing when you put a valid url in the box and
> the popup message says 'Website is not valid'. But I like the easy
> customisation of messages, and the output is a little more refined than
> the output from my implementation of JavaScript::DataFormValidator. I
> wonder how easy it would be to port it to jQuery?


there are a ton of jQuery form validator out there, including an official plugin

http://www.google.com/search?client=safari&rls=en&q=jquery+form+validation&ie=UTF-8&oe=UTF-8

-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to