> 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.
There are better options that 'BEEEEP!!!' :-) Something like this is, in my opinion, does benefit the user experience: http://www.massimocorner.com/validator/samples/custom_error.htm Of course, it's just a matter of opinions. > 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. See above, you can do the same client-side, without reloading the page. > I've never really seen client side validation to be beneficial as it takes > all the additional time to code and test, It's, again, a matter of opinions. I developed a dedicated library just for that. I write the code just once and it implements validation both on the client and server-side. The client-side library is available for download, the server-side is not (not yet at least) > 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. 20%??? Come on, even the most anti-JS zealots will never agree on this number :-))) BTW Any serious stat that consider the percentage of JS disabled should exclude search engine robots, I haven't seen one that does. > so you're probably going to kiss good bye to the accessibility of > your site. Again, on public facing websites I use both. > 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. We just disagree on this. It's fine for me. ---------------------------- Massimo Foti, web-programmer for hire Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ---------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271983 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4