[phorm] [Phorm:] Different email recipients based on input?

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 9 Mar 2003 08:53:39 -0000

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

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

  MESSAGE:  (#2372) Different email recipients based on input? 
            <http://www.phorm.com/support/?rev=2372> 
  AUTHOR:   Robert Allen 
  DATE:     March 9, 2003 at 3:53 a.m. EST 

I have followed the instructions for setting up multiple email recipients. 
That works well. The next thing I would like to do is direct the form's data 
to a recipient based on a check box choice. Is that possible? 

Using the sample x-Widgets, for instance, there is four check boxes for Type. 
Commercial, Residential, Food Services, Heavy Industrial. 

Can I create something (I suppose in the windgetconfig.php3) whereby if 
someone checks off, say, Residential, then the form data goes to one email 
address, whereas if someone checks off, say, Commercial, the form data goes to 
a different email address, etc.? And lastly, if someone checks off more than 
one box, then the form data goes to entirely different email address. 

Doable? 

I have the various email tmpl files created, such as tmpl.txt, tmpl2.txt, 
tmpl3.txt and so forth. That works great but now I would like to selectively 
choose which templ file is used for sending the data. For instance, if someone 
checks off Residential, then only templ2.txt is used. 

I'm also thinking, if I don't have a conditional for someone checking off more 
than one checkbox, then the data will simply go to the recipient in the main 
templ.txt file (and that would be fine. 

Thanks. 

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

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:] Different email recipients based on input?