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

    Why my conditions are not working with Collapse tool?

    Asked by JAworld on June 03, 2017 at 09:17 PM


    I have a form with conditions in place that despite 2 hours playing with it, I cannot get it to work correctly.

    I am totally confused as this form is a clone of another that works just fine (some minor changes have been made).

    Here is my problem form: 

    In the CREDENTIALS area of my form I need to hide/show certain Section Collapses based on the contents of a spinner AND the state of a Single Choice element.

    Logic: If the credentials are NOT published (single choice) and you have 2 employees then show the first 2 Section Collapses and Hide the remainder of the Section Collapses. 

    But no Section Collapses show when the correct selections have been made.

    I would be very grateful if someone could take a look and see where I have gone wrong before I totally lose my sanity.

    For interest, here is the original form that I cloned from that has exactly the same conditions and yet work perfectly:https://eu.jotform.com/build/71317185409356


    Many thanks



    Page URL:

  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 04, 2017 at 12:31 AM

    I have cloned your form and I can see what you're reporting; however, after further inspecting the conditions, seems like you have a conflict, I would suggest you to first remove all the collapse tools you have right above the original collapse you want to show/hide: 

    Also, please disable all the conditions related to your the involved fields, this will help to set up new conditions, while setting your conditions you only need to evaluate the answer on the single choice field and the number entered, so if the number is 1 then you show only the first collapse tool, if the number is two then you show the first and second and so on. Once you have set up these conditions, it is not necessary to set up other conditions when the entered number is other than 1-6, when the selected options are different or when the involved fields are empty. 


    Please, make this change to your form and let us know how it goes. 

  • Profile Image

    Answered by JAworld on June 04, 2017 at 06:51 AM

    Many thanks Kevin. That seems to have solved the problem


    Kind regards