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

  • Profile Image
    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
    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
    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
    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


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


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


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


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


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


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