> A lot of form data validation can be completely contained within the client > using JavaScript,
But isn't this scenario assuming that JS is available? I thought the argument was that one has to assume that JS isn't available and a complete server-side validation routine would have to be in place. It seems that most on the list have been saying use the client-side JS for user experience enhancement, but assume JS is not available. In that case, I'd need to run server-side validation on everything anyway... ??? -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 1:25 AM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? > Client-side validation is going to have to server-side > validation, too, which means the server is going to have to > handle all the validation that the client-side does. So > there's just as much stress on the server. > Perhaps more so, if there are numerous problems with the form > data that aren't or can't be handled by client-side > validation, such as validation against query data, etc. A lot of form data validation can be completely contained within the client using JavaScript, without needing to verify anything against the server. This will execute comparatively quickly, and will let you build a user-friendly and responsive interface. You'll still need to do the same checks when the data is actually submitted to the server, but these shouldn't require any significant processing time if they were previously run on the client, because they'll all pass. And if they don't, for whatever reason, you won't really care about the processing overhead at that point anyway. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275525 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4