Why my conditions are not working with Collapse tool?

  • Profile Image
    JAworld
    Asked on June 03, 2017 at 09:17 PM

    Hi,

    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: 
    https://eu.jotform.com/build/71536687609873

    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

    Adrian

     

  • Profile Image
    Kevin_G
    Answered 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. 

    Example: 

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

  • Profile Image
    JAworld
    Answered on June 04, 2017 at 06:51 AM

    Many thanks Kevin. That seems to have solved the problem

     

    Kind regards

    Adrian