I can't repro this based on your code - can you give more details
about *exactly* what the error is and where it is occurring?

On 11/7/05, Ken Ketsdever <[EMAIL PROTECTED]> wrote:
> 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>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223544
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