How to show/hide specific fields based on user's answer?

  • dbqfoundation
    Asked on August 28, 2018 at 2:55 PM

    I have a form with multiple conditions. https://form.jotform.com/82395760424966

    They are not appearing as I thought they should. I basically need the form to show more lines if they answer "yes" to the question "Do you have additional expenses" The first condition is working but the 2nd one shows all the remaining instead of just the next section.

     1535485083JotForm Screenshot 10

  • DonaldHag
    Replied on August 28, 2018 at 5:20 PM

    On taking a look at your conditional logic for the first time the question that goes: Do you have additional expenses? is asked. The logic is not correct in the sense that, it is set to;

    HIDE the fields if NO is selected.

    This means when YES is selected, all the fields hidden by the first condition will then be shown.

    1535490977additional expense Screenshot 10

    To fix this, add an extra condition parameter to hide all the other similar question values when yes is selected. This can be added by clicking the plus (+) button within the condition:

    1535490950add extra condition Screenshot 21

    A workaround to this is to use the Configurable List Widget which lets the user add fields dynamically. Refer to this guide: https://www.jotform.com/help/282-How-to-Set-Up-the-Configurable-List-Widget



  • dbqfoundation
    Replied on August 29, 2018 at 9:25 AM

    I'm still confused. If the first "Do you have any additional expenses" is NO, I need all the following lines (up to the total) to be hidden. If I don't have that first condition they are all visible.


    I did check out the widget. It won't work for me because I need this form to total.

  • John_Benson
    Replied on August 29, 2018 at 12:18 PM

    Please check my demo form: https://form.jotform.com/82404377241958

    Is that what you're trying to achieve? If yes, I added hidden Section Collapse to the form and use the Show/Hide condition. 

    You can clone my form to check the condition settings and the section collapse by following this guide: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Here's the result: 

    1535559513156t61345 Screenshot 10

  • dbqfoundation
    Replied on August 30, 2018 at 1:58 PM

    This worked wonderfully!!! Thank you for your help.


    I now have another issue. When someone submits their form they are not receiving a copy. They only thing I can tell may be the issue is this option is crossed off.