Basically, yes. What I do for most of my forms is build the JS and server-side validations dynamically. Both are built off the same reference file so all I need to do is maintain that file within the limits of my validation builders. Works out for most forms but is not an end all solution for all forms since sometimes the validation rules can get a little complex to just rely on a universal builder to understand and build.
On 4/15/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Do I have to set up completely independent coding to provide > both client-side and server-side validation that will provide security and > functionality if JS is turned off? > > Rick > > > -----Original Message----- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 14, 2007 10:22 PM > To: CF-Talk > Subject: Re: Client-side validation or Server-side Validation? > > >>I've used ajax validation successfully in one case: the user is > signing up > with a unique username, > > Very good example indeed. > > -- > _______________________________________ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:275284 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

