The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
conditionaly set email recipient list - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: conditionaly set email recipient list (/showthread.php?tid=2224) |
conditionaly set email recipient list - marcat - Oct 10th, 2012 I have a need to send email to a recipient list based upon user input. Is this possible with ver. 2.2.2? Example: User number 1 submits form with field name list=1. When received, Form Tools would send email to a predefined list of addresses, we'll call this list A. User number 2 submits form with fields name list=2. When received, Form Tools would send email to a second predefined list of addresses we'll call list B. Thoughts, ideas, solutions, examples??? TIA for feedback... Marc RE: conditionaly set email recipient list - alexh - Oct 10th, 2012 Yes, this is possible. The best way to do this, is to create two views. In View "A", create a filter. The filter should say field_1 = "A" In View "B". create a filter. The filter should say field_1 = "B" ... and so on. Then, create a new email under the email tab. In advanced settings under the configuration tab, select view "A" under "Only submissions that fit into the following View(s)". Once that email template is complete, create another email under the email tab. Follow the steps above but select "View B". Let me know how that goes, Alex RE: conditionaly set email recipient list - marcat - Oct 12th, 2012 SWEET! Never played with filters before, works like a charm! Thank you for an elegant solution. Form Tools ROCKS! (Oct 10th, 2012, 4:53 PM)alexh Wrote: Yes, this is possible. |