you shouldn't put URL params in the action attribute of FORM tags...it's 
(pardon the pun) bad form ;-)

You should really pass that stuff via hidden form fields.

That said....

Your code will fail if the e-mail field is left blank

Think it through....empty field (but still gets passed when form posted). 
Your CFPARAM only sets the default value if FORM.RegistrantEMail does not 
exist (but it always does because it's in the form).  So you'll get an error 
in your CFMAIL tag because the value of FORM.RegistrantEMail is an empty 
string ;-)

I don't see how that code ever would have worked.

I'd ditch the CFPARAM and do this:

<cfif Len(Trim(FORM.RegistrantEMail)) eq 0>
  <cfset FORM.RegistrantEMail = "[EMAIL PROTECTED]">
</cfif>

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223522
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to