Thanks for the feedback, Dan. I've got solutions that use only client-side validation, but it seems that the discussion everyone's having always comes back to needing server-side validation to backup client-side.
Seems to me that it's a lot less work to just integrate the two. I mean, if I'm going to have to validate client-side whether or not a name is entered in a field, then turn around and validate the data using server-side CF, that seems to add *more* complexity to the code and the work of the server. Why not just do both at once? Rick -----Original Message----- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 2:31 PM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Rick, >I'm leaning toward a combination of JS for user-friendliness with >the validation coming from ColdFusion programming. > >I get the best of both worlds that way. It's not the best of both worlds. If you're doing all validation based on AJAX operations, then you've introduced a huge layer of complexity and point of failure to your code. Not to mention added additional HTTP requests that are unneeded. Only use AJAX validation for client-side errors for things that you can't do w/out interaction with the server (such as validating if a username exists.) There's tons of example code and libraries (such as qForms) that will allow you to easily apply client-side validation rules to your code. It's not that difficult to implement. There's absolutely no reason to make an HTTP request to see if a field is required, to see if a field looks like a valid e-mail address, to see if a value is a number, etc. There's tons of stuff out there that you can leverage. These are not difficult problems to solve. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275438 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

