How to properly display a matrix/grid question based on a number entered in a previous question | XM Community
Skip to main content
Solved

How to properly display a matrix/grid question based on a number entered in a previous question

  • July 11, 2018
  • 2 replies
  • 84 views

Forum|alt.badge.img+2
Hello-- I'm trying to figure out how to properly display a matrix/grid question based on a number entered in a previous question. Specifically, the first question is: How many children do you have? (enter number); based on the number entered, the next question should display a grid with a row for each child and the option to select the age and gender of each. For example, respondent A answers 2 children, they will then see a grid for 2 children, respondent B answers 5, they will see a grid for 5 children, etc.

Best answer by TomG

Add display logic to the rows in the second question based on the number entered in first question. Presumably, you would only show the second question if number > 0 so you don't need display logic on the first row. The second row be "display if number > 1", the third row "display if number > 2", etc.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • July 11, 2018
Add display logic to the rows in the second question based on the number entered in first question. Presumably, you would only show the second question if number > 0 so you don't need display logic on the first row. The second row be "display if number > 1", the third row "display if number > 2", etc.

Forum|alt.badge.img+2
  • Author
  • July 12, 2018
Thanks TomG!