Logic problem with hidding fields

  • Profile Image
    deluca
    Asked on February 04, 2013 at 08:20 AM

    Hello,

    I am struggling with this:

     

    If I have 3 radial buttons:

    button 1

    button 2

    button 3

     

    I then have 3 drop down menus with:

     field 1 : 1 to 10 people

     field 2 : 11 to 20 people

     field 3 : 21 to 30 people.

     

    I need to have the right drop down menu showing when the right radial button is being clicked.

    I tried:

    If Button 1 is filled(or equal to..I tried this too), then SHOW field 1

    If Button 1 is filled(or equal to..I tried this too), then HIDE field 2

    If Button 1 is filled(or equal to..I tried this too), then HIDE field 3

     

    If Button 2 is filled(or equal to..I tried this too), then SHOW field 2

    If Button 2 is filled(or equal to..I tried this too), then HIDE field 1

    If Button 2 is filled(or equal to..I tried this too), then HIDE field 3

     

     

    If Button 3 is filled(or equal to..I tried this too), then SHOW field 3

    If Button 3 is filled(or equal to..I tried this too), then HIDE field 1

    If Button 3 is filled(or equal to..I tried this too), then HIDE field 2

     

     

    But it seems to be conflicting and does not work, any work around please?

     

    Thank you,

     

    Ben

     

  • Profile Image
    deluca
    Answered on February 04, 2013 at 10:26 AM

    Hello,

     

    Thank you for your help!,

     

    I am totally lost, I cloned your form and it works, but my form here with the exact same logic will not work, any idea why please?

    http://form.jotformeu.com/form/30343123989355

     

     

    Thanks!

     

     

    Ben

  • Profile Image
    deluca
    Answered on February 04, 2013 at 10:30 AM

    Sorry,

     

    I did miss something out in your logic, I added it and now it works.

     

    I am still very confused on why the fields can only show correctly if the "number of adults" field is set to "show", I do not understand the link.

     

    Thank you,

     

    Ben

  • Profile Image
    jonathan
    Answered on February 04, 2013 at 11:32 AM

    Hi Ben,

    If I understand you correctly, the part you are confused with is the SHOW reason.

    Please remember, if you used the SHOW action, -- you do not have to used HIDE action anymore on the same field, because it will already default to HIDE... before it can even SHOW.

    Please inform us if you need further assistance understanding this.

    Thanks.