> You're adding a lot of complexity Less complexity as I see it...
> lot of load to your server that's unnecessary Doesn't seem to have any issue handling it so far. (Of course that could change if I pursue this to a greater degree.) But like I've stated before, *all* validation I've performed up to this point has been by using CF. Never used client-side validation before. > Using Joern's jQuery Form validation, you should be able to apply basic > validation to your form in minutes. Been there, done that. But then you have to add validation for the same data on the server-side. I don't see that as any more beneficial to the server. (Maybe the light will come on soon...but I'm beginning to wonder if there's a bulb in the argument to use two separate validation techniques, unless one's got a server that can't handle it...) -----Original Message----- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 3:53 PM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Rick, >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. Which is true. >Seems to me that it's a lot less work to just integrate the two. Which is false. You're adding a lot of complexity and points of failure and add a lot of load to your server that's unnecessary. >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? You're actually adding more complexity to your code trying to make the server-side do all your validation for you. The point is there is plenty of stuff out there that does all the heavy lifting in the client side for you. Anyone with a working knowledge of JS could use one of the many JS Form libraries out there to add pure client-side validation to a form in minutes. Using Joern's jQuery Form validation, you should be able to apply basic validation to your form in minutes. Instead of starting big, start small. Try to really understand what the code is you're writing is doing. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275477 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

