> you create one validation method that gets called either way. Exactly... one method to validate them all...
-----Original Message----- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 4:05 PM To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? You can setup your server-side to do both the ajax and the non-js submits. you create one validation method that gets called either way. ~Terry -----Original Message----- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 14:25 To: CF-Talk Subject: Re: Client-side validation or Server-side Validation? > Why not just do both at once? You can't do both at once. Client and server each need an independent approach. The server must behave as if it is not at all dependent on what the client sends it. Thus you need to have CF code to handle validation on the server, and javascript to handle validation on the client (if desired). Even if you are doing ajax validations, you are still hitting the server, and your independent CF code must handle that server call. Also, if you are depending on an ajax call to validate, your non-javascripters will not make the ajax call and so not validate. -- Josh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275481 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4