# Infinite loop and dynamically delete already selected options from list

**URL:** <https://forum.getodk.org/t/infinite-loop-and-dynamically-delete-already-selected-options-from-list/25902>\
**Category:** Support\
**Created:** [April 6, 2020, 5:24pm UTC](https://forum.getodk.org/t/infinite-loop-and-dynamically-delete-already-selected-options-from-list/25902 "2020-04-06T17:24:28Z")\
**Posts on this page:** 1\
**Showing post:** 19

<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 11, 2023, 8:46am UTC](https://forum.getodk.org/t/infinite-loop-and-dynamically-delete-already-selected-options-from-list/25902/19 "2023-01-11T08:46:58Z")

</div>

Thanks @willydauphin 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/1432) 😉  
Thanks for sharing, I will try it with Collect. Lazy question : could you share an xlsform ?

> [@willydauphin](#):
>
> It could be great to limit the number of repetition with the size of Q1 list. Any idea to achieve it ?

You might take a look at this [discussion](https://forum.getodk.org/t/counting-the-number-of-all-options-in-a-select-one-select-multiple-variable/17393/28) and the proposed [trick](https://forum.getodk.org/t/counting-the-number-of-all-options-in-a-select-one-select-multiple-variable/17393/28)

---

_[View the full topic](https://forum.getodk.org/t/infinite-loop-and-dynamically-delete-already-selected-options-from-list/25902)._
