# Multiple choice on repeat groupe answer

**URL:** <https://forum.getodk.org/t/multiple-choice-on-repeat-groupe-answer/15692>\
**Category:** Support\
**Tags:** form-design, odk-xforms, odk-collect, odk-xlsform\
**Created:** [October 15, 2018, 9:41am UTC](https://forum.getodk.org/t/multiple-choice-on-repeat-groupe-answer/15692 "2018-10-15T09:41:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Grzesiek2010](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/grzesiek2010/32/2881_2.png) [@Grzesiek2010](https://forum.getodk.org/u/Grzesiek2010)\
**Post date:** [October 15, 2018, 11:19am UTC](https://forum.getodk.org/t/multiple-choice-on-repeat-groupe-answer/15692/2 "2018-10-15T11:19:26Z")

</div>

Hi @Fabienne35

based on this answer [Ranking previously collected list of names - #8 by LN](https://forum.getodk.org/t/ranking-previously-collected-list-of-names/15269/8)

1. Download the form I prepared: [barcodes.xlsx](https://getodk.b-cdn.net/uploads/default/original/2X/a/a373df4116c338d7a6b706b254a7346cb22d1fe2.xlsx) (6.2 KB)

2. Convert it to xml using [http://opendatakit.org/xlsform/](http://opendatakit.org/xlsform/)

3. Add:

```auto
	 <itemset nodeset="/barcodes/group">
	     <value ref="c1"/>
	     <label ref="code"/>
	 </itemset>

```

instead of:

```auto
 <item>
    <label>A</label>
    <value>a</value>
 </item>

```

in line 38 under

```auto
<label>Select barcodes</label>

```

Here is the result: [barcodes.xml](https://getodk.b-cdn.net/uploads/default/original/2X/9/9cd4b68a68dd513c608c019a7e3d97a99a618972.xml) (1.6 KB)

---

_[View the full topic](https://forum.getodk.org/t/multiple-choice-on-repeat-groupe-answer/15692)._
