# Select\_one randomly under repeat group

**URL:** <https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388>\
**Category:** Support\
**Tags:** odk-collect\
**Created:** [August 10, 2019, 8:21pm UTC](https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388 "2019-08-10T20:21:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Margaret\_Wambui](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/margaret_wambui/32/8146_2.png) [@Margaret\_Wambui](https://forum.getodk.org/u/Margaret_Wambui)\
**Post date:** [August 10, 2019, 8:21pm UTC](https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388/1 "2019-08-10T20:21:19Z")

</div>

Hello,  
I would like to enable random select\_one under a repeat group. I don't how to put is so here are the screenshots of with and without repeat group

With repeat group  
 ![image](https://getodk.b-cdn.net/uploads/default/original/2X/0/0b9e50a3ce92155c0d82fcd8c7832a5bae85ca99.png)

Without repeat group  
 ![image](https://getodk.b-cdn.net/uploads/default/original/2X/a/a46fde84aeffcccdf4e8c5633228a97e2bdf4064.png)

Also attached are the sample xlsforms together for media files (yambase and crossinglist)  
Thank you,  
Margaret

[yambase.csv](https://forum.getodk.org/uploads/short-url/aueQAJInFox1Blchitz4HR1Xao9.csv) (384 Bytes) [random\_selection\_with\_repeats.xlsx](https://forum.getodk.org/uploads/short-url/rkCgrXH9uSZw9LrEPo3PGqjq9LW.xlsx) (12.7 KB) [random\_selection.xlsx](https://forum.getodk.org/uploads/short-url/glWtd2Ov9ZJWsw4sSIDwO9Ydgqg.xlsx) (12.6 KB) [crossinglist.csv](https://forum.getodk.org/uploads/short-url/13JRrkMDD2c6ovmmyjlIi2RlFEP.csv) (271 Bytes)

---

<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:** [August 12, 2019, 4:38pm UTC](https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388/2 "2019-08-12T16:38:54Z")

</div>

I'm not sure if it's possible to do that because you create choices dynamically so using repeatable groups you would need to create multiple variants. @Xiphware you like such cases so maybe you can help.

---

<div class="post-metadata">

**Author:** ![Margaret\_Wambui](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/margaret_wambui/32/8146_2.png) [@Margaret\_Wambui](https://forum.getodk.org/u/Margaret_Wambui)\
**Post date:** [September 2, 2019, 6:18am UTC](https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388/3 "2019-09-02T06:18:41Z")

</div>

Hi,  
I want to mention that this issue started after the first 2019 update. In 2018, this issue was nonexistence.  
Thanks

---

<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:** [September 2, 2019, 10:33am UTC](https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388/4 "2019-09-02T10:33:56Z")

</div>

Could you tell us in which version it was ok?

---

<div class="post-metadata">

**Author:** ![Margaret\_Wambui](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/margaret_wambui/32/8146_2.png) [@Margaret\_Wambui](https://forum.getodk.org/u/Margaret_Wambui)\
**Post date:** [September 2, 2019, 11:21am UTC](https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388/5 "2019-09-02T11:21:10Z")

</div>

I am not sure but I think it was v1.18

---

<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:** [September 2, 2019, 12:35pm UTC](https://forum.getodk.org/t/select-one-randomly-under-repeat-group/21388/6 "2019-09-02T12:35:37Z")

</div>

I tried and it didn't or maybe I missed something.
