[phorm] [Phorm:] Re: send email based on checkbox value

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 7 May 2003 23:27:54 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2659) Re: send email based on checkbox value 
            <http://www.phorm.com/support/?rev=2659> 
  AUTHOR:   Patrick O'Hara 
  DATE:     May 7, 2003 at 7:27 p.m. EST 

  Reply To: (#2658) send email based on checkbox value 
  Author:   Scott Cramer 
  Date:     May 7, 2003 at 7:21 p.m. EST 

Hi Scott, 

if ($checkBoxName == "checkBoxValue") { 
-- $PHORM_TMPL[2] = signMeUp.txt; 
} 

However, if you are sending this to the user, you should look at using the 
autoresponder as this is better practice. You can choose to send one of two 
autoresponders based on whether the check box is ticked. i.e. 

if ($checkBoxName == "checkBoxValue") { 
-- $PHORM_RESPOND = respond_signup.txt; 
} 
else { 
-- $PHORM_RESPOND = respond.txt; 
} 

Regards, 

Patrick O'Hara 
WhitsundayIT 
QLD, Australia 

patrick@xxxxxxxxxxxxxxxx 
www.whitsundayit.com 

Hyphens are to indicate indent - should not be included in code. 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] [Phorm:] Re: send email based on checkbox value