Sending autoresponder email depending on employee selected from a drop-down list

  • Profile Image
    lollypop_treats
    Asked on December 15, 2020 at 03:56 PM

    Hello,

    Our organization has about 110 employees. I'd like to create a form where the recipient of the form is determined by which employee is chosen from a drop-down list. I've already created a form like this in the past, and I found it very tedious to create 110 conditional statements (and also the corresponding 110 email notifications) to account for each employee in the drop-down list. Is there any easier way to accomplish this goal? I'd rather not have to undergo the same process a second time.

    Alternatively, can I copy the notifications and conditionals from the existing form to the new form?

    Thanks!

  • Profile Image
    Ahmed
    Answered on December 15, 2020 at 08:27 PM

    Hello lollypop_treats,

    You can do this action with one single condition if you used the Calculation Value option of your dropdown field, let me show you how you can do it:

    1- Go to your dropdown options and enable Use Calculation Value option.

    Related guide: https://www.jotform.com/help/301-how-to-assign-calculation-value

    1608081018_5fd95e7a37377_1.png

    2- Add the email for each option or employee listed.

    1608081088_5fd95ec024559_2.png

    3-Then you will need to add a Short Text field to your form, this field will be used to hold the email of the selected option or employee from the dropdown menu, you can hide this field if you don't want to change the design of your form.

    4- Create an UPDATE/ CALCULATE FIELD condition and configure it to copy the value of the your dropdown field to the new added email field as the below image.

    1608081371_5fd95fdb9e5c8_3.png

    after saving the condition you can setup the AUTORESPONDER EMAIL to use the value of the new added email field.

    For the alternative option you've mentioned, when you clone a form it's cloned with all of its conditions and email rules that was created before.

    Please give it a try and let us know if you need any further assistance.