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 can I get more than one condition to work?

    Asked by chanddas on May 09, 2013 at 12:27 PM

    I have been trying for fields to be shown when a customer picks 'yes' for a question and those fields to be hidden when they choose 'no.' I can get one condition to work, but not both simultaneously. I have tried and saved and deleted conditions several times, but I cannot get it to work. Can someone please assist?? 


    My form url:
    http://form.jotform.us/form/31266333183147

    Page URL:
    http://form.jotform.us/form/31266333183147

    JotForm style size hidden
  • Profile Image

    Answered by glennlee on May 09, 2013 at 01:07 PM

    Hi Chanddas,

    I cloned your form and I can see that in additional requests field condition, both yes and no answer will show  the comment box and submit button. I think it conflicted the other condition. So I modified your condition, please see this cloned form. If this is what you are trying to achieve please see the conditions I used below. 

    #1

    #2

    If this is not what you are trying to accomplish, please give us more details.

    Thanks,

  • Profile Image

    Answered by chanddas on May 09, 2013 at 01:27 PM

    Yes, it finally works! Thank you very much.

  • Profile Image

    Answered by glennlee on May 09, 2013 at 01:37 PM

    Glad to know that! You're welcome. If you need any assistance please do not hesitate to contact us again. Thanks! 

  • Profile Image

    Answered by chanddas on May 10, 2013 at 09:18 AM

    I added two more questions before hitting submit that I need to appear whether they select 'yes' or 'no' options, and I made it as a required question. I had someone do a test run by submitting the form after I added these options, but they did not fill them out. Do I need to change my condition statement to make this happen? Can you please take a look? 

     

    My url: http://form.jotform.us/form/31266333183147

     

    Also, am i able to customize my url?? 

  • Profile Image
    JotForm Support

    Answered by abajan on May 10, 2013 at 10:20 AM

    @chanddas

    In this form's case, I don't think it's necessary to hide the submit button under any conditions. Since the user won't be able to submit the form without completing all displayed required fields, there's no need to hide the button. However, I'll peruse the conditions and see if I can come up with a better setup than the current one.

    As to customizing the URL, please see this thread.

    If you have further questions while we try to better configure the conditions, we'd be happy to help.

  • Profile Image

    Answered by chanddas on May 10, 2013 at 12:12 PM

    No, I do not want to hide the submit button. In fact, I want to make sure it is always visible for the customer, regardless of which options they choose along with the following questions

     

    Does the student have a documented disability?*

    Has the student purchased a new copy of the textbook(s) for the course(s)?

     

    The only fields I want hidden is the additional titles (author 2nd/author 3rd book and its corresponding fields following after).

    I hope that makes sense. 

    ------------------------------------

    Update: I just tried submitting another test form and the fields above do not show up when the form is submitted. Can you please help me fix this problem?

    Thank You!


  • Profile Image

    Answered by glennlee on May 10, 2013 at 01:25 PM

    Hi,

    If you want to show the said fields regardless on what they answer (yes or no) you do not need to add it on the condition.

    I had someone do a test run by submitting the form after I added these options, but they did not fill them out. Do I need to change my condition statement to make this happen? Can you please take a look? 

    Are you referring to the email notification? If the two new field did not show up to your email notification, you need to create a new notification because when you added new fields on your form you also need to add it on your notification.  Please follow the steps below.

    1. Click Setup & Embed > Email alerts

    2. Add new Email.

    No, I do not want to hide the submit button. In fact, I want to make sure it is always visible for the customer, regardless of which options they choose along with the following questions

    To show the submit button regardless option they chose, kindly edti your #2 condition, remove the submit button on the condition.

    Thanks!

  • Profile Image
    JotForm Support

    Answered by abajan on May 10, 2013 at 07:57 PM

    @chanddas

    Please have a look at this clone and if its behavior is what you wanted, in addition to changing your form's second condition as shown by my colleague, change its first condition as follows:


    Also, if you don't want the fields to shift out of position when unfilled required fields become highlighted, inject the following CSS:

    .form-error-message {
    display: none !important;
    }

    .form-line-error {
    background:none repeat scroll 0 0;
    }


    As always, please feel free to pose additional queries.

    Thanks