The following still allows the CFSET tag to run even though the IsDefined
variables are empty and hence an error. This is from a simple mail form
asking for Quantity (qty1) and price (uc1) and then calculating a total
price (tc1). If Quantity and Price are not filled in I want it to go to
next field. Please make suggestions on getting this to work. I have got to
get it working by Monday morning.
<CFIF IsDefined("form.qty1") AND IsDefined("form.uc1")><cfset tc1 =
#form.qty1# * #form.uc1#></CFIF>
<CFOUTPUT>
#form.tc1#
</CFOUTPUT>
Jim Watkins
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.