What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to conditionally change email recipient?

    Asked by activesmallbiz on August 30, 2016 at 10:35 PM

    I have a form that has 5 questions. Each question has A, B, C, D.

    At the end, the applicant is given a yes or no answer.

    Yes sends out a yes email to the applicant. No sends out a no email to the applicant.

    If the answer to any question is A, the answer is no. If the answers are all B, C, or D, the answer is yes.

    The problem is, when the answer is no on any one question, the form sends out a no email and a yes email together.

    How can I make it send out only a no email if any question is answered with A instead of sending both emails?

    Thanks!

    recipient email how conditions
  • Profile Image
    JotForm Support

    Answered by Nik_C on August 31, 2016 at 04:33 AM

    I created a test form as you described, five questions with A,B,C,D answers. I created Yes Autoresponder and No Autoresponder that will go to submitter:

    Also, I created conditions that will place yes or no in text-box based on selection of answers:

    That textbox, by the way, can be hidden if you don't want to be seen by your submitters.

    Finally, I created one more condition to change the autoresponder that will be sent based on the value in textbox:

    I also created one regular Autoresponder that will be sent if no answer is selected in any question.

    And here is the form url: https://form.jotform.com/62431773005954

    Please check and clone it if you wish.

    Let me know if this could work for you.

    Thank you! 

  • Profile Image

    Answered by activesmallbiz on September 03, 2016 at 01:35 AM

    Thanks for the reply. The demo form is not working right tho. If I select B, B, B, B, A it still gives yes. It should give no if any A is selected. It only gives a no if I select A in Q1. I duplicated the demo in my form and it shows the same problem.

    Do you have a fix for this?

  • Profile Image
    JotForm Support

    Answered by liyam on September 03, 2016 at 08:44 AM

    Hello,

    For the condition that has a condition of  IF xx IS NOT EQUAL TO A, you need to set it to ALL conditions instead of using ANY.

    You can copy this form for reference of the fix for the condition I've made: https://form.jotform.com/62463424256960 

     

  • Profile Image

    Answered by activesmallbiz on September 03, 2016 at 04:11 PM

    That fixed it! Thanks guys, saved me a lot of time and headache with this!