# Matrix fields

**URL:** <https://forum.getodk.org/t/matrix-fields/3793>\
**Category:** Support\
**Created:** [November 15, 2014, 5:18pm UTC](https://forum.getodk.org/t/matrix-fields/3793 "2014-11-15T17:18:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roopa\_K](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/r/b19c9b/32.png) [@Roopa\_K](https://forum.getodk.org/u/Roopa_K)\
**Post date:** [November 15, 2014, 5:18pm UTC](https://forum.getodk.org/t/matrix-fields/3793/1 "2014-11-15T17:18:31Z")

</div>

Hi,

I've been searching this group and can't seem to find an answer: can  
someone point me to a tutorial or thread that would help me build matrix  
fields into a survey I'm creating (using xlsform)? I have a number of  
questions that have the same four options as answers, so I'd like to be  
able to display them as a matrix (instead of as separate questions with  
options listed below each question).

[http://www.utexas.edu/cola/orgs/redcap/\_files/matrix\_examples.JPG](http://www.utexas.edu/cola/orgs/redcap/_files/matrix_examples.JPG)

I know this is possible in ODK, but I can't seem to find any info on how to  
actually do it.

Thanks!

Roopa

---

<div class="post-metadata">

**Author:** ![Jorge\_Durand\_Zurdo](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/jorge_durand_zurdo/32/1770_2.png) [@Jorge\_Durand\_Zurdo](https://forum.getodk.org/u/Jorge_Durand_Zurdo)\
**Post date:** [November 15, 2014, 7:09pm UTC](https://forum.getodk.org/t/matrix-fields/3793/2 "2014-11-15T19:09:08Z")

</div>

Just create a group that contains the select one questions that share the  
same choices ( in your example two groups) and apply the table-list under  
appearance column in the begin group row.

Cheers

> **···**
>
> 2014-11-15 18:18 GMT+01:00 Roopa K :
> 
> > Hi,
> > 
> > I've been searching this group and can't seem to find an answer: can  
> > someone point me to a tutorial or thread that would help me build matrix  
> > fields into a survey I'm creating (using xlsform)? I have a number of  
> > questions that have the same four options as answers, so I'd like to be  
> > able to display them as a matrix (instead of as separate questions with  
> > options listed below each question).
> > 
> > [http://www.utexas.edu/cola/orgs/redcap/\_files/matrix\_examples.JPG](http://www.utexas.edu/cola/orgs/redcap/_files/matrix_examples.JPG)
> > 
> > I know this is possible in ODK, but I can't seem to find any info on how  
> > to actually do it.
> > 
> > Thanks!
> > 
> > Roopa
> > 
> > ## --
> > 
> > Post: [opendatakit@googlegroups.com](mailto:opendatakit@googlegroups.com)  
> > Unsubscribe: [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com)  
> > Options: [http://groups.google.com/group/opendatakit?hl=en](http://groups.google.com/group/opendatakit?hl=en)
> > 
> > * * *
> > 
> > You received this message because you are subscribed to the Google Groups  
> > "ODK Community" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --
> 
> Jorge Durand Zurdo
> 
> _[joduzu@gmail.com](mailto:joduzu@gmail.com)_ [joduzu@gmail.com](mailto:joduzu@gmail.com)\*skype user: \*_joduzu_

---

<div class="post-metadata">

**Author:** ![Roopa\_K](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/r/b19c9b/32.png) [@Roopa\_K](https://forum.getodk.org/u/Roopa_K)\
**Post date:** [November 15, 2014, 7:12pm UTC](https://forum.getodk.org/t/matrix-fields/3793/3 "2014-11-15T19:12:23Z")

</div>

Excellent, thanks so much!

> **···**
>
> On Saturday, November 15, 2014 2:09:52 PM UTC-5, joduzu wrote: \> \> Just create a group that contains the select one questions that share the \> same choices ( in your example two groups) and apply the table-list under \> appearance column in the begin group row. \> \> Cheers \> \> 2014-11-15 18:18 GMT+01:00 Roopa K \<roopa....@gmail.com \>: \> \>\> Hi, \>\> \>\> I've been searching this group and can't seem to find an answer: can \>\> someone point me to a tutorial or thread that would help me build matrix \>\> fields into a survey I'm creating (using xlsform)? I have a number of \>\> questions that have the same four options as answers, so I'd like to be \>\> able to display them as a matrix (instead of as separate questions with \>\> options listed below each question). \>\> \>\> http://www.utexas.edu/cola/orgs/redcap/\_files/matrix\_examples.JPG \>\> \>\> I know this is possible in ODK, but I can't seem to find any info on how \>\> to actually do it. \>\> \>\> Thanks! \>\> \>\> Roopa \>\> \>\> -- \>\> -- \>\> Post: opend...@googlegroups.com \>\> Unsubscribe: opendatakit...@googlegroups.com \>\> Options: http://groups.google.com/group/opendatakit?hl=en \>\> \>\> --- \>\> You received this message because you are subscribed to the Google Groups \>\> "ODK Community" group. \>\> To unsubscribe from this group and stop receiving emails from it, send an \>\> email to opendatakit...@googlegroups.com . \>\> For more options, visit https://groups.google.com/d/optout. \>\> \> \> \> \> -- \> \> Jorge Durand Zurdo \> \> \*joduzu@gmail.com\* \*skype user: \*\*joduzu\* \> \>

---

<div class="post-metadata">

**Author:** ![JenniSarge](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@JenniSarge](https://forum.getodk.org/u/JenniSarge)\
**Post date:** [May 7, 2018, 6:47pm UTC](https://forum.getodk.org/t/matrix-fields/3793/4 "2018-05-07T18:47:48Z")

</div>

What if you want a table format with open input answers?

For example the rows are school grades. The columns are boys and girls. And you input the number of kids enrolled. How do you do that?

---

<div class="post-metadata">

**Author:** ![Walusiku\_Muyunda](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/walusiku_muyunda/32/9022_2.png) [@Walusiku\_Muyunda](https://forum.getodk.org/u/Walusiku_Muyunda)\
**Post date:** [April 14, 2020, 2:08pm UTC](https://forum.getodk.org/t/matrix-fields/3793/5 "2020-04-14T14:08:18Z")

</div>

@JenniSarge, did you manage to implement your use case?

---

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [April 14, 2020, 4:08pm UTC](https://forum.getodk.org/t/matrix-fields/3793/6 "2020-04-14T16:08:01Z")

</div>

Please see [Insert-table-to-check-into-form - #2 by LN](https://forum.getodk.org/t/insert-table-to-check-into-form/25478/2) for grids of selects as the original post asks for.

Grids of other types are not implemented but you can vote, describe your use case and provide feedback at [Form design: grid of text or numeric input](https://forum.getodk.org/t/form-design-grid-of-text-or-numeric-input/13398).
