I'm not so sure I agree that it does benefit the user experience, Perhaps
for some of the more complex validations, but generally when I click the
'submit' button and I get a horrible windows style 'BEEEEP!!!' and a notice
window that I've missed out my name I find it to be a little offensive more
than helpful.

With the server side validation you can have it pass the user back to the
form with subtle highlights and suggestions as to where they missed a few
things, far more pleasant, far more informative.

I've never really seen client side validation to be beneficial as it takes
all the additional time to code and test, and then you have to consider that
over 20% or browsers have JS disabled and wouldn't be able to take advantage
anyway, so you're probably going to kiss good bye to the accessibility of
your site.

The studies run about the drop in JavaScript support by users seemed to find
the core reason for disabling it was down to it being an annoyance rather
than any form of benefit.

Server side is accessible, quick and easy to maintain and develop, and is
totally secure as its not reliant on the client to support it, it serves all
purposes, I've always seen JavaScript validation to be solving a problem
that doesn't exist.

Rob

-----Original Message-----
From: Massimo Foti [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 10:07
To: CF-Talk
Subject: Re: improved js for form validation?

> I still don't get why people use JS for form validation,

Maybe because it allows for a better user's exerience ? :-)



> Why not just place some decent server side stuff on it?

I use both client and server-side validation. Many people consider it a best

practice



> It's allot less hassle and allot more secure.

It's less hassle for the developer, much more hassle for the user

----------------------------
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
----------------------------






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271981
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to