How to send emails through jotform based on use response?

  • Profile Image
    Asked on March 10, 2021 at 11:38 AM


    I want to create a Jotform that allows for users to "contact their government representatives" about legislation happening in their state/country, and the jotform would email the representatives for the user. I know this will require conditional formatting, but I'm very confused on how to do this and would appreciate your help. This is essentially what a form would look like, ideally:

    1. Full Name
    2. Email Address
    3. State you live in (Drop-down)
    4. Email Body Form (with text pre-built in it as a suggested copy & when the user clicks "submit" it automatically sends the emails to multiple predetermined recipients from the USERS EMAIL. The email text would also autofill with the recipient's name.



  • Profile Image
    Answered on March 10, 2021 at 05:27 PM

    Hi Jess,

    I think that's a great form idea! The hardest part here is going to be creating 50 pre-written messages! I've put together a short guide and some ideas for you to tackle this problem.

    I have created a new form (with the Vintage Star Theme because it looks nice!)and added 4 basic elements to it: (1) Full Name (2) Email (3) Dropdown (5) Long Text. Note: Under the Options (4) tab you can set the dropdown to pre-fill with all US States!


    Next I've created a new Update/Calculate Field condition. This part is a bit less intuitive than the rest of Jotform, but it is also very powerful.

    The first thing to be aware of is that you must use HTML for any formatting. In the image below we have a <br / > tag which causes a line break, or return. You might notice that the forward slash / is separated from the rest of the tag. This is on purpose and important. If the tag is entered as one block it will print the <br/> in the email! You can refer to this link for more tags that you can use in your email:


    The brown background on each word is very important! Elements with black backgrounds will be treated as numbers and may cause an error. Simply click on the colored box to change it's type.


    The screenshot below demonstrates what happens if you don't press enter after each word!


    This can be fixed by saving the condition and then reopening it!


    Try these methods out and let us know if you still need help. Thank you for your patience!