How to select an email by selecting name values in an option field/widget?

  • Profile Image
    htoffice
    Asked on January 16, 2018 at 12:27 PM

    Hi, Is there a way to have an option(widget?) to click from a list of names, but the output to be their email addresses?  Asking as I want customers to choose from a list of parent names, but it would be easier and simpler if they see their name and not the email (as the email isn't always clear who the recipient will be). 


    Thanks, Rena at HTOffice

  • Profile Image
    liyam
    Answered on January 16, 2018 at 01:20 PM

    Unfortunately, there is no possibility to set this in an option, there is also no widget available that can make this happen. But you can run a condition where each email shall be used based on a specific selection of a name. 

    Can you tell us how exactly you wish to use the email address so we can provide you more explicit details on how to make your form?


  • Profile Image
    htoffice
    Answered on January 16, 2018 at 02:43 PM

    Hi - I don't want just one email, but I would like the possibility of choosing many names from a list, but for us to see on the report would be email addresses associated with each individual name chosen (could be 30+ names).  

    Probably too complicated?

  • Profile Image
    Mike_G
    Answered on January 16, 2018 at 03:41 PM

    Thank you for clarifying your concern, we appreciate it.

    I believe this is possible by having the email addresses as calculation values of the parent names.

    This guide explains how you can add calculation values to the options of radio button fields, checkbox fields, and/or drop-down fields — How-to-Assign-Calculation-Value

    Let's say here are the options in your Parent Name drop-down field

    1516134228t15_21_04.png

    You can add the calculation value of each option as shown in the screenshot below.

    1516134328t15_23_43.png

    After that, add another field that will have the email address of the selected parent name. This field can be set as hidden.

    1516134596t15_29_07.png

    The calculation value of the parent name (drop-down field option) can be passed to that field conditionally.

    1516134791t15_31_17.png

    Then, you can now use that field as recipient of the email autoresponder in your form — Setting-Up-an-Autoresponder-Email

    1516134994t15_34_40.png

    The screenshot below shows how the calculation value and the condition works. (I intentionally did not hide the field only for testing purposes)

    1516135302t15_40.gif

    I hope this helps. If you have other questions or concerns, please feel free to contact us again anytime.