Send Email Notification to selected recipient from a contact form

  • Profile Image
    Asked on August 21, 2015 at 10:14 AM

    Good Morning,


    I would like to use our JotForm account to create a contact form on our staff directory.  My idea was to use a hidden field and insert the email address of our staff member to whom the email should go. However, I see now that I am unable to send email notifications to a field populated in the form.


    Is there anyway to accomplish this with JotForm?



    Justin Martin

    Technology Coordinator

  • Profile Image
    Answered on August 21, 2015 at 12:31 PM

    If I understand your requirement, Justin, you would like to conditionally send the email notification to a specific person based on what your users are selecting on a form - is this correct?

    Yes, this can be achieved quite easily. You can use Conditional Logic to Send an e-mail after submission.

    1. You will need to Set Up an Email Notification, with the Recipient Email address being irrelevant at this time - you can leave that at default.

    2. You'll need a field where your users will select their contact person - you can use a Drop Down field. Fill it out with names, or departments, that your users will be contacting.

    3. Go to Setup & Embed > Conditions > Send an e-mail after submission, and set up your conditions for the email notification.

    Create a rule for each of your options / email addresses.

    I hope this helps. Please let us know if you need further assistance or if you hit any snags along the way, and we will be happy to help.

  • Profile Image
    Answered on August 22, 2015 at 08:49 AM

    That doesn't help at all.  That requires setting up over 100 conditions.  if we use our own SMTP server can I set the recipient to one of our form fields?

    Or is there an API of some kind I can use to programmatically create the conditions. 

  • Profile Image
    Answered on August 22, 2015 at 11:03 AM

    I am sorry, it seems that I have misunderstood your initial request.

    I still don't quite understand the workflow you are after, but yes, you can always set the recipient to one of the form fields.

    It is best to use an actual Email field for this task, which can be found under Quick Tools. This field can be set as hidden, if desired.

    By having an Email field, you can select it easily in your Autoresponder emails.

    You can even use it in regular Email Notifications, but you'll have to find out the name of that email field. (How to find Field IDs and Names)

    In my example, my field is named {prepopulatedEmail}

    We can then simply set a recipient of our Email Notification to be the name of that field - {prepopulatedEmail}.

    Any of these two methods will work. If you need further assistance, please tell us a little more on your desired workflow - we will be happy to take a look into an appropriate solution.

    Please let us know how it goes.