Need help on Multiple choice and condition hide and show pages..

  • WOWKIDO
    Asked on April 3, 2017 at 1:52 PM

    Page 1
    Question (can select multiples)
    A
    B
    C
    D


    Page 2 
    Questions only for user selected A, skip to last page if no other selection made in page 1, continues to questions if other choices made.

    Page 3
    Questions only for user selected B, skip to last page if no other selection made in page 1, continues to questions if other choices made.

    Page 4
    Questions only for user selected C, skip to last page if no other selection made in page 1, continues to questions if other choices made.

    Page 5
    Questions only for user selected D, skip to last page if no other selection made in page 1, continues to questions if other choices made.

    Page 6

    Final questions

    The logic here is that, if this user select say B & C, then the user will have to answer page 3 and 4 then skip to final page. Its seems no matter how i do it it overrides. 

  • Kevin Support Team Lead
    Replied on April 3, 2017 at 3:36 PM

    I've checked some of your forms and I can see you have more than one with page breaks, could you please share us the link to the form you're working on? 

    We will be glad to further help you with the conditions based on your form, so far it's a bit hard to set the conditions since it seems there would be other fields on the first page of your form, once we have the form as well as the involved fields we will be glad to help you with your conditions. 

    Here's also a guide that will help you with the skip conditions: https://www.jotform.com/help/350-How-to-Skip-Pages-Using-Conditional-Logic 

    We will wait for your response. 

  • WOWKIDO
    Replied on April 3, 2017 at 6:15 PM

    Hi, 

    I think the issue is condition is not really working when the first page is allowing multiple answers.  Basically, depending on the user choices, the form has to know which page to skip to and hide, so there isn't really priority order on the setting.

    here is the simple form I made with no conditions apply.

    https://form.jotform.us/70927041961154

  • Kevin Support Team Lead
    Replied on April 3, 2017 at 10:16 PM

    I've tested the skip to pages conditions and I can see it works, no matter the order options are selected, here's my sample form with the skip to conditions: https://form.jotformpro.com/70928539859981 

    However, do note that these conditions will work on the following way:

    1. If option "A" is checked, then the form will move to the "Page A" and then other pages.

    2. If option "C" and "D" are checked, then the form will move to "Page C" and "Page D". 

    If you would need to hide other pages when "A" option is selected then you would need to use the "Hide Page" condition, this way you will be able to redirect user to the desired page based on the selection and then hide un-needed pages. 

    Need help on Multiple choice and condition hide and show pages Screenshot 20

    Hope this helps. 

  • WOWKIDO
    Replied on April 4, 2017 at 12:07 PM

    Still doesn't work.

    Becuase if the user checked B and D.  It needs to know to skip question for A and C.  The problem here is that if when this happens, my other previous A and C related conditions would kick in and make it not work properly. Does that make sense?

  • David JotForm Support
    Replied on April 4, 2017 at 2:55 PM

    Since pages can only use skip or hide conditions, it make things a bit more difficult.  You would need hide conditions to cover all possible scenarios.  

    IF empty HIDE 2, 3, 4, 5

    IF option A is Checked HIDE 3, 4, 5
    IF option A and option B are checked HIDE 4, 5
    IF options A and option B and option C are Checked HIDE 5

    IF option B is Checked HIDE 2, 4, 5
    IF option B and option C are checked HIDE 2, 5
    IF options B and option C and option D are Checked HIDE 2

    IF option C is Checked HIDE 2, 4, 5
    IF option C and option D are checked HIDE 2, 4
    IF options C and option D and option A are Checked HIDE 3

    IF option D is Checked HIDE 2, 3, 4
    IF option D and option A are checked HIDE 3, 4
    IF options D and option B and option A are Checked HIDE 4

    And so on.  This would be much easier using Form collapse fields instead of pages since you could simply set up a single show condition for each for collapse:

    https://www.jotform.com/help/297-Show-or-Hide-Multiple-Fields-at-Once-Using-the-Form-Collapse-Tool

    This way, you would set up:

    IF option A is selected SHOW Form Collapse A
    IF option B is selected SHOW Form Collapse B
    IF option C is selected SHOW Form Collapse C

    And so on.