Minus the funny wrapping is there anything wrong here? 

Only 30% of our employees have email addresses, yet we ask for email as
part of an online registration process. So I set incorporated a cfparam
to be used when no email address is submitted.

This is some code that I believe has been working for several months.
Recently we upgraded to MX 7.01 Enterprise from MX 6.xx.

Now I am getting errors that the form.RegistrantEmail string is 0 if no
email address is submitted.  I would expect the cfparam to be passed in
for those who do not submit an email address. 

Form Page:
<form
action="TrainingRegistration.cfm?CalendarId=#Trim(TrainingCalendarDetail
Output.CalendarId)#" Method="post">
Name: <input type="text" name="Registrant"> <br/><br/>
E-Mail: <input type="text" name="RegistrantEMail" size="40"><br><br>
Phone Number: <input type="text" name="Phone" size="12"><br/><br/>
<input type="submit" value="Register Now" name="Register Now">
</form>

Action Page:

<cfparam name="form.RegistrantEMail"
default="[EMAIL PROTECTED]">

<cfmail type="HTML" to="[EMAIL PROTECTED]"
from="#form.RegistrantEMail#" subject="Class Registration" port=25
timeout=60>

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:223518
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to