Conditional logic showing fields I'm not requesting

  • christian_wagner
    Asked on May 18, 2016 at 2:33 PM

    Hello!

    I've been building a form and for some reason there seem to be a few conditional logic error bugs I can't seem to rectify. Let me paint the scenario:

     

    -I want the customer to go down to TRACKLISTING and choose either "FILL OUT TRACKLIST" or "ATTACH PQ SHEET."

    -IF "FILL OUT TRACKLIST" is selected, an option for "CHOOSE ONE: (Single, Double, Triple, Quadruple)" will show up and that will determine how many fields it will show underneath. HOWEVER, simply choosing "FILL OUT TRACKLIST" will show ALL of the fields that are conditionally determined by CHOOSE ONE.

     

    -In addition, if a customer changes its mind and selects "ATTACH PQ SHEET", I want it to hide the fields that were underneath this. However, even with the rule I set up, it doesn't hide the fields I specify.

     

    Any help would be appreciated!

     

    -Christian

  • Ben
    Replied on May 18, 2016 at 4:09 PM

    In such setups Christian, it is best to use the approach with form collapse fields. You can see more about this here: Show or Hide multiple fields at once using form collapse tool

    Next to this one rule of thumb - use either show or hide conditions on a single field. Using both show and hide will cause issues somewhere along the path since show condition implies that until that condition is met, the same field should be hidden.

    Now in your case, you should set up the "FILL OUT TRACKLIST" and "ATTACH PQ SHEET." should show their own form collapse fields.

    That way you will always hide the fields that should not be shown without a lot of conditions.

    From there, you simply work your way through the other fields.

    Do of course let us know if you have any additional issues or any questions and we would be happy to assist with the same.

  • christian_wagner
    Replied on May 19, 2016 at 1:30 PM

    This worked perfectly. Thank you so much. Is there any way to not have the indent when they appear on the form?

  • Kevin Support Team Lead
    Replied on May 19, 2016 at 2:05 PM

    On behalf of my colleague, you're welcome. 

    Regarding to your second question, unfortunately, I cannot understand what are you trying to achieve, is this related to an specific field? As I can understand you want to hide something when showing the fields, I checked your form, but could not figure it out, please provide us a bit more about what are you trying to achieve, we will be glad to help you. 

  • christian_wagner
    Replied on May 19, 2016 at 2:27 PM

    Ahh sorry! It functions as it should, just wondering if there's a way to work around the indent here. Thanks!

    Conditional logic showing fields Im not requesting Image 1 Screenshot 20

  • Kevin Support Team Lead
    Replied on May 19, 2016 at 2:49 PM

    Thank you for the details, since this is not related anymore to this thread, I have moved it to a new one, you will find it on this link: https://www.jotform.com/answers/842837 

    We will assist you with that as soon as possible.