# Restrict choice list in repeat select\_one question

**URL:** <https://forum.getodk.org/t/restrict-choice-list-in-repeat-select-one-question/18706>\
**Category:** Support\
**Tags:** odk-xlsform\
**Created:** [March 20, 2019, 5:50pm UTC](https://forum.getodk.org/t/restrict-choice-list-in-repeat-select-one-question/18706 "2019-03-20T17:50:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliviertresor](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/oliviertresor/32/6245_2.png) [@oliviertresor](https://forum.getodk.org/u/oliviertresor)\
**Post date:** [March 20, 2019, 5:50pm UTC](https://forum.getodk.org/t/restrict-choice-list-in-repeat-select-one-question/18706/1 "2019-03-20T17:50:48Z")

</div>

Hi there,  
I need help  
I will like to know how to restrict choice list on a select\_one or even select\_multiple question that is looped in a repeat.  
for example if I have a repeat on time  
select\_one  
6-7  
7-8  
8-9  
9-10......  
I want to make it possible not to be able to select 6-7 for example if it has already been selected previously

Thanks you

---

<div class="post-metadata">

**Author:** ![ARIF\_AZAD\_KHAN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/arif_azad_khan/32/2921_2.png) [@ARIF\_AZAD\_KHAN](https://forum.getodk.org/u/ARIF_AZAD_KHAN)\
**Post date:** [March 21, 2019, 5:48am UTC](https://forum.getodk.org/t/restrict-choice-list-in-repeat-select-one-question/18706/2 "2019-03-21T05:48:51Z")

</div>

For single select it is possible to restrict duplicate selection in repeat group. Have a look the discussion:

> [@Duplicate value in repeat group question](https://forum.getodk.org/t/duplicate-value-in-repeat-group-question/11281/3):
>
> Ooh, this is another super fun question! tada I love these puzzle forms. @khantaung you have the right idea but the tricky thing is considering all of the previously-selected choices no matter how many repeats there are. Take a look at the form [here](https://docs.google.com/spreadsheets/d/1IC_egzIB63W4-VwQXNZG87BPHcYnkLBAMOpPeELacXA/edit#gid=0) for a solution that I believe should work for any number of choices and any number of repeats.

---

<div class="post-metadata">

**Author:** ![oliviertresor](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/oliviertresor/32/6245_2.png) [@oliviertresor](https://forum.getodk.org/u/oliviertresor)\
**Post date:** [March 21, 2019, 8:24am UTC](https://forum.getodk.org/t/restrict-choice-list-in-repeat-select-one-question/18706/3 "2019-03-21T08:24:35Z")

</div>

Thanks @ARIF_AZAD_KHAN,

It is crazy how programming these forms can get exciting over time. It worked for me.
