# Double answer restriction

**URL:** <https://forum.getodk.org/t/double-answer-restriction/25049>\
**Category:** Community\
**Created:** [February 22, 2020, 2:18am UTC](https://forum.getodk.org/t/double-answer-restriction/25049 "2020-02-22T02:18:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rachmat\_Ramadhan](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/rachmat_ramadhan/32/6183_2.png) [@Rachmat\_Ramadhan](https://forum.getodk.org/u/Rachmat_Ramadhan)\
**Post date:** [February 22, 2020, 2:18am UTC](https://forum.getodk.org/t/double-answer-restriction/25049/1 "2020-02-22T02:18:49Z")

</div>

How do I get the same answer choices are not selected twice. How about the syntax on XlsForm. Can anyone help?

![image](https://getodk.b-cdn.net/uploads/default/original/2X/d/d67111b9c267e70934aadf268041d5248bc7dad0.png)

---

<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:** [February 22, 2020, 12:25pm UTC](https://forum.getodk.org/t/double-answer-restriction/25049/2 "2020-02-22T12:25:21Z")

</div>

Hi @Rachmat_Ramadhan  
why do you have two choices with the same label in one list?

---

<div class="post-metadata">

**Author:** ![Rachmat\_Ramadhan](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/rachmat_ramadhan/32/6183_2.png) [@Rachmat\_Ramadhan](https://forum.getodk.org/u/Rachmat_Ramadhan)\
**Post date:** [February 22, 2020, 1:41pm UTC](https://forum.getodk.org/t/double-answer-restriction/25049/3 "2020-02-22T13:41:44Z")

</div>

Hi,  
It results from the filters of different questions

---

<div class="post-metadata">

**Author:** ![Rachmat\_Ramadhan](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/rachmat_ramadhan/32/6183_2.png) [@Rachmat\_Ramadhan](https://forum.getodk.org/u/Rachmat_Ramadhan)\
**Post date:** [February 22, 2020, 1:45pm UTC](https://forum.getodk.org/t/double-answer-restriction/25049/4 "2020-02-22T13:45:50Z")

</div>

I changed the question ... how do I choose all the answers from the filter results that are unknown how many answers will appear. To use the count-selected I thought could not be because we did not know what the answer choices
