Results 1 to 3 of 3

Thread: recipient choice

  1. #1
    Join Date
    Feb 2008
    Posts
    27

    Default recipient choice

    I would like to define who gets the recipient email (<input type="hidden" name="recipients" value=) depending on the response to a form field. For example if applicant selects option 1 to a form field called [subject_type] then person1@email1.com gets the recipient email, whereas if the applicant selects option 2 then person2@anotheremail.com gets the message.
    I use a fmhookpreemail.inc.php file (to populate a database) and wondered if anything could be done there perhaps to achieve this?
    Thanks in anticipation.
    Colin

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: recipient choice

    u could just rename "subject_type" to "recipients" and have the option values be the email addresses (or email aliases would be better)

  3. #3
    Join Date
    Feb 2008
    Posts
    27

    Default Re: recipient choice

    Thanks for that, yes a simple solution when complicated was expected!
    Colin

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Derive_fields for multiple choice + text
    By seiko in forum Community Support
    Replies: 2
    Last Post: 18-Aug-2009, 05:27 AM
  2. Receiving answers to muti-choice questions
    By ijl in forum Community Support
    Replies: 2
    Last Post: 28-Jun-2008, 05:34 PM
  3. layout of multiple choice in html
    By Vivienne in forum FormMail Subscription Support
    Replies: 2
    Last Post: 11-Sep-2005, 10:33 PM
  4. choice-dependent result URL
    By nevdev in forum FormMail Subscription Support
    Replies: 6
    Last Post: 13-Jan-2005, 09:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •