Setting Email notification recipient base on field selection

  • designisgrowth
    Asked on June 12, 2015 at 3:07 PM

    Hey Guys,
    Is there any way that someone filling out a form could select a person to email the notification to via a radio list?


    Thanks for the help,
    Daniel Villamizar

  • Mike_G JotForm Support
    Replied on June 12, 2015 at 4:29 PM

    Yes, that is possible. 

    First, 

    Setting Email notification recipient base on field selection Image 1 Screenshot 50

    Then, 

    Setting Email notification recipient base on field selection Image 2 Screenshot 61

    And, 

    Setting Email notification recipient base on field selection Image 3 Screenshot 72

    Place the {sendEmail} on the Recipient-Email field:

    Setting Email notification recipient base on field selection Image 4 Screenshot 83

    The {sendEmail} holds whatever value is selected from the Radio field.

    I hope this helps. Let us know if you need further assistance. Thank you.

  • designisgrowth
    Replied on August 17, 2015 at 3:42 PM

    This is great but what if you don't want to list the person's email in the radio button selection, instead you want to list their names and have the name that you select go to that person's email. Thanks for the help!

  • Mike_G JotForm Support
    Replied on August 17, 2015 at 6:14 PM

    That is still possible. 

    You will need an extra hidden(so it will not show on the form) text field on your form. 

    Setting Email notification recipient base on field selection Image 1 Screenshot 100

    Then, you need to set Calculation Values

    Setting Email notification recipient base on field selection Image 2 Screenshot 111

    So each time a name is selected from the radio button field, it will return the corresponding calculation values.

    Now, you need to pass the value to the "Email Address of the person selected" field using Condition.

    Here's how.

    Setting Email notification recipient base on field selection Image 3 Screenshot 122

    Then, we need to pass the value that's being passed to Email Address field to the Notifier

    Setting Email notification recipient base on field selection Image 4 Screenshot 133

    Setting Email notification recipient base on field selection Image 5 Screenshot 144

    Setting Email notification recipient base on field selection Image 6 Screenshot 155

    Here's another way for you to do this, without needing an extra text field and using Conditions only.

    Setting Email notification recipient base on field selection Image 7 Screenshot 166

    Setting Email notification recipient base on field selection Image 8 Screenshot 177

    Then, you notifier will become a Conditional notifier.

    Setting Email notification recipient base on field selection Image 9 Screenshot 188

    I hope this helps. Let us know if you need any further assistance. Thank you.