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 deal with multiple conditions?

    Asked by sarahahmad on August 18, 2016 at 06:45 AM
    how
  • Profile Image
    JotForm Support

    Answered by BJoanna on August 18, 2016 at 09:29 AM

    Inside of this guide you can find how to hide or show multiple fields with conditional logic:

    https://www.jotform.com/help/196-Hide-or-Show-Multiple-Fields-at-Once 

    More about conditional logic you can find here:

    Smart Forms Using Conditional Logic

    If you have some issues with conditional logic inside of your form, please provide us ID of your form and tell us what you are trying to achieve.

    Let us know if you need further assistance. 

  • Profile Image

    Answered by sarahahmad on August 18, 2016 at 09:47 AM

    Hi, I've already seen these threads. But issue in my situation is that I've to add almost 55 * 3 combinations that I dont want to. 

    I want something like this if ( section 1 ?= 2yes) show section 1 result.

    if ( section 2 ?= 2yes) show section 2 result.

    if ( section 3 ?= 2yes) show section 3 result. 

    Thanks

  • Profile Image
    JotForm Support

    Answered by BJoanna on August 18, 2016 at 11:28 AM

    I assume that you are working on this form https://www.jotform.com/62297940692467.

    I have inspected conditions inside of your form and you can show sections 1,2 and 3 with only three conditions. However to achieve that you would also need to assign calculation values to all of your radio button fields that have options yes and no. You can set that yes is 1 and no is 0.

     

    Then you would need to add three Form Calculation widgets, one for each section on your form. Then perform calculation for radio button fields of each section. 

    How to Perform Calculation in the Form?

    Finally you need to set conditional logic based on calculation from Form calculation widgets.

    You can also hide calculation fields from your form, so that your users can not see them.

    I have cloned your form and I made demo form, with mentioned changes. Here is my form:

    https://form.jotform.com/62304113421943 

    Feel free to clone it.

    Hope this will help. Let us know if you need further assistance.