The Question Matrix response type allows users to create a group of questions that display in a matrix format, whereby each cell within the matrix represents a separate question. To use this response type, define the number of rows and columns you want in your matrix set and give each row and column a label or name. Each column can be a different question type. In the above screenshot, the first two columns are select-one questions, and the third column is a number question.
NOTE: This response type only works when using Enketo, utilizing the Grid-theme layout. Forms are set to single page layout by default -- to change it, find the "layout" button in the formbuilder toolbar, select "grid-theme", save this change, and redeploy your form to make these changes live.
Create a Question Matrix in the Formbuilder
- Go to your Form Builder and click on “Add question”
- Select ‘Question Matrix’
3) Click on the gear icon in each column to set the question type.
4) Select the question type.
5) Add the Column label & response label
6) Select the gear icon within ‘Row’ to define the row label.
Create a Question Matrix in XLSForm
Alternatively, you can also build a Matrix Question in a XLSForm by following the instructions as outlined in the images below:
In the survey tab:
In the choices tab:
In the settings tab:
Please note: this method uses begin_kobomatrix, end_kobomatrix and kobo—matrix_list.
Following the steps above, you should see the question matrix shown in the screenshot below (In Enketo only):