Matrix Follow-up Questions

criveracrivera NevadaCommunity Member Qubie ✭

Matrix Follow-up Questions

I am trying to do a large matrix with an open-ended question every time the individual selects important _or _extremely important as a response option.

I did this by creating a separate question for each response and using display logic.

I ran into trouble because since I wrote the follow-up question multiple times, after the individual responds to the follow-up question for their important response__it takes them to the follow-up question for the very next response option even if they did not select important on that one. I tried to do a loop and merge and it appeared that it would not let me select only two of the likert options within a matrix.

Any suggestions besides separating the matrix into all separate questions?

Best Answer

  • TomGTomG Raleigh, NC Wizard ✭✭✭✭✭
    Accepted Answer

    The way you did it should have worked, but it sounds like your display logic on some of the follow-up questions was incorrect.

    You can use Loop & Merge for this as follows:
    1. After your matrix question (and a page break), create a MC question with all your matrix statements as choices, and add display logic to each row to display if important or extremely important was selected in the Matrix question. Hide the question with JS (jQuery("#"+this.questionId).hide();) If it is on its own page, you'll also have to have JS click the Next button.
    2. Set up your Loop & Merge block to loop off the displayed choices in your hidden question.
    3. Add your open end question to the loop. Pipe in ${lm://Field/1} where the statement text should display.


  • criveracrivera NevadaCommunity Member Qubie ✭

    Thanks for the suggestions TomG. I have tried to implement them, but the Loop & Merge Block is not displaying

    Any suggestions of what I can do about this?


  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭

    In the loop & merge setup, make sure you pick Displayed choices and not Selected choices from your hidden question.

  • criveracrivera NevadaCommunity Member Qubie ✭

    Displayed is selected. Any other ideas of what would cause a block to not show up?

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭

    @crivera said:
    Displayed is selected. Any other ideas of what would cause a block to not show up?

    The question the Loop & Merge block is referencing was never displayed? (you have to hide it with JavaScript, NOT display logic).

  • criveracrivera NevadaCommunity Member Qubie ✭

    The entire Loop & Merge block is not displaying. I used the JavaScript you provided.

Sign In to Comment