# Hiding selected options from choice field

**URL:** <https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701>\
**Category:** Ask for Help\
**Created:** [September 30, 2024, 1:07am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701 "2024-09-30T01:07:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bleu.Elefant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bleu.elefant/32/40086_2.png) [@Bleu.Elefant](https://community.glideapps.com/u/Bleu.Elefant)\
**Post date:** [September 30, 2024, 1:07am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/1 "2024-09-30T01:07:08Z")

</div>

I would like to know if I can hide selected choices from a choice menu based on the selection of another choice menu.

Example: I am creating a sports League App. When two opponents play each other I have a choice menu for each player with A, B, and C as options.

If I select option A for one player, then Option A to be unavailable (hidden) for the other player.

I realise you can show/ hide full components, but what I am after is to show/hide sub-components

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 30, 2024, 1:22am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/2 "2024-09-30T01:22:26Z")

</div>

You should be able to filter by the screen value of the other choice component.

---

<div class="post-metadata">

**Author:** ![Bleu.Elefant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bleu.elefant/32/40086_2.png) [@Bleu.Elefant](https://community.glideapps.com/u/Bleu.Elefant)\
**Post date:** [September 30, 2024, 2:12am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/3 "2024-09-30T02:12:46Z")

</div>

Here is a screenshot. Selections are below players. For example if I select 3 from player 1 the I want to hide 3, MB and MS from Player 2 this leaving only option 0 or 1.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/5/75e1f7b816e0fb02be9e25ec37ac19e3dfdd76ef.png)

---

<div class="post-metadata">

**Author:** ![Bleu.Elefant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bleu.elefant/32/40086_2.png) [@Bleu.Elefant](https://community.glideapps.com/u/Bleu.Elefant)\
**Post date:** [September 30, 2024, 2:14am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/4 "2024-09-30T02:14:00Z")

</div>

I probably should put a reset field button in there somewhere…

---

<div class="post-metadata">

**Author:** ![Bleu.Elefant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bleu.elefant/32/40086_2.png) [@Bleu.Elefant](https://community.glideapps.com/u/Bleu.Elefant)\
**Post date:** [September 30, 2024, 2:16am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/5 "2024-09-30T02:16:00Z")

</div>

I also think the filter will hide the whole choice component not just individual selection.

---

<div class="post-metadata">

**Author:** ![Bleu.Elefant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bleu.elefant/32/40086_2.png) [@Bleu.Elefant](https://community.glideapps.com/u/Bleu.Elefant)\
**Post date:** [September 30, 2024, 2:26am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/6 "2024-09-30T02:26:55Z")

</div>

What about creating buttons instead or creating a validation rule to ensure only valid entries are submitted?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 30, 2024, 2:31am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/7 "2024-09-30T02:31:38Z")

</div>

Visibility would hide the entire choice component, but a filter can filter the list of choices within that choice component. Again, you should be able to filter one choice component based on the screen value of the item chosen in another choice component.

---

<div class="post-metadata">

**Author:** ![Bleu.Elefant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bleu.elefant/32/40086_2.png) [@Bleu.Elefant](https://community.glideapps.com/u/Bleu.Elefant)\
**Post date:** [September 30, 2024, 2:41am UTC](https://community.glideapps.com/t/hiding-selected-options-from-choice-field/76701/8 "2024-09-30T02:41:57Z")

</div>

Cheers, I will give that a try.
