sorry guys/gals,

I couldn't find the previous thread on this, so here it goes again. Maybe it was on the old list.

On a form submit, If a value exists, such as a radio check box ON, then I want to fire off an email.

I thought this poorly created code might make you laugh:

<cfif listlen(form.AddtoMailingList)>
<cfmail from="#email1#" to="[EMAIL PROTECTED]" subject="Sign me Up" type="HTML">
</cfmail>
                          <cfelse>
                                      <u>Do Not add on mailing list at this 
time.</u>
              </cfif>

How do I get the processing form to "act" upon the value and fire off an email? DO I use a switch expression on this value?

Thanks for any help.

Mark


Mark Armstrong
Webix

 - - - - - - - - - - - - - - - -
214-740-0007 office
214-534-0263 mobile
972-293-4401 fax
[EMAIL PROTECTED]
- - - - - - - - - - - - - - - -


----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to