# List answer with different question type

**URL:** <https://forum.getodk.org/t/list-answer-with-different-question-type/40255>\
**Category:** Support\
**Created:** [January 30, 2023, 9:40pm UTC](https://forum.getodk.org/t/list-answer-with-different-question-type/40255 "2023-01-30T21:40:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seb\_cortes](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/seb_cortes/32/18488_2.png) [@seb\_cortes](https://forum.getodk.org/u/seb_cortes)\
**Post date:** [January 30, 2023, 9:40pm UTC](https://forum.getodk.org/t/list-answer-with-different-question-type/40255/1 "2023-01-30T21:40:09Z")

</div>

Hi to all. I'm creating a form, where one question need an answer with 5 different materials with the weight that each one of the materials have. At the moment, the only way that I found to work well is a text question and every answer have separated by coma. But this answer it's not the best for a database, so I'm trying to define a table where the first column is a text for the name of the material and the second column is a decimal answer for the weight. Is it possible this kind of answer?

Best regards

---

<div class="post-metadata">

**Author:** ![mathieubossaert](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/mathieubossaert/32/6131_2.png) [@mathieubossaert](https://forum.getodk.org/u/mathieubossaert)\
**Post date:** [January 31, 2023, 7:24am UTC](https://forum.getodk.org/t/list-answer-with-different-question-type/40255/2 "2023-01-31T07:24:44Z")

</div>

Hi @seb_cortes and welcome to the ODK community forum !  
When you get a chance please take some time to [introduce yourself here](https://forum.getodk.org/t/introduce-yourself-here/6671)

How many different available materials do you have ?  
Can't you simply have one integer question per material, all in one group ?

If you have too much materials, you can imagine a first repeat to select the materials and a second one asking for each selected material its weight.

We achieve something like that to store species abundance.  
In [this form](https://biodiversityforms.org/docs/ODK-CEN/habitats_naturels_milieux/releves_phytosociologiques#xlsform) you can look at groups "gp\_especes" and "gp\_abondance" (lines 81 to 100). The first one lists the species and the second one ask the abundance for each one.

---

<div class="post-metadata">

**Author:** ![seb\_cortes](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/seb_cortes/32/18488_2.png) [@seb\_cortes](https://forum.getodk.org/u/seb_cortes)\
**Post date:** [January 31, 2023, 12:34pm UTC](https://forum.getodk.org/t/list-answer-with-different-question-type/40255/3 "2023-01-31T12:34:42Z")

</div>

Thanks for your answer. I already introduce myself few months ago (maybe a year). About your suggestion, the problem that I have is that the user has to mention the 5 materials that they use with higher frequency in the production of turbines (in example: steel 2 ton, cupper 1.8 ton, etc). So, every user can describe different materials.

I hope this explanation is more helpful to understand the problem

Best regards
