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

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

  • 11 July 2018
  • 2 replies
  • 26 views

Badge +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.
icon

Best answer by TomG 11 July 2018, 22:13

View original

2 replies

Userlevel 7
Badge +27
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.
Badge +2
Thanks TomG!

Leave a Reply