I assumed you had server side taken care of since it was in the title but
not mentioned in the post ;-)

In your action template...

<cfparam name="form.vctitle" default="" />

<cfif len(trim(form.vctitle)) is 0>
<!--- do something here since the field was empty --->
<cfelse>
<!--- process the information since it was valid --->
</cfif>

-----Original Message-----
From: Pete [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 29, 2007 10:32 PM
To: CF-Talk
Subject: RE: client side and server side validation

Good question - so what do you recommend?

P

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Monday, 30 April 2007 11:59 AM
To: CF-Talk
Subject: Re: client side and server side validation

> Where you have... 
> onsubmit="return validateFields(this);" 


...... and I'll throw the monkey wrench in.

What if the user has javascript turned off?
Have you planned for that?





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276538
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to