# Problem selecting "Screen" values in a CHOICE component

**URL:** <https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722>\
**Category:** Ask for Help\
**Created:** [November 18, 2021, 6:39pm UTC](https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722 "2021-11-18T18:39:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaronBurleson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daronburleson/32/34694_2.png) [@DaronBurleson](https://community.glideapps.com/u/DaronBurleson)\
**Post date:** [November 18, 2021, 6:39pm UTC](https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722/1 "2021-11-18T18:39:47Z")

</div>

Note: I have already opened this bug in another category, but I’ve been told to create it here in “Glide Pages”

> [@Choice filter not working when filtering with "Screen" values](https://community.glideapps.com/t/choice-filter-not-working-when-filtering-with-screen-values/34628):
>
> Describe the bug: I have two “CHOICE” components in a form. The values of the second component depend on the selection of the first one, so I use a filter as follows using the “Screen” option: [image] Expected Behaviour: Results should be filtered in the second choice component, but they are not. Looks like the application is not taking into account the “Screen value” selected at the first component, which lives in the limbo as it’s not written into the GDocs yet: How to replicate: Create…

**Describe the bug:**  
I have two “CHOICE” components in a form. The values of the second component depend on the selection of the first one, so I use a filter as follows using the “Screen” option:

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

**Expected Behaviour:**  
Results should be filtered in the second choice component, but they are not. Looks like the application is not taking into account the “Screen value” selected at the first component, which lives in the limbo as it’s not written into the GDocs yet:

**How to replicate:**

- Create two choice components:

- Component #1 is populated from a table with these rows, for instance:COUNTRY\_NAME  
USA  
CANADA

- Component #2 is popupulated from a table with rows with these rows, for instance:COUNTRY\_NAME CITY  
USA NEW YORK  
USA BOSTON  
USA MIAMI  
CANADA TORONTO

- Selected a value from choice #1 (for instance, “CANADA”)

- Create a filter for component two where “COUNTRY\_NAME” is “Screen → COUNTRY\_NAME”

- You’ll see that the choice #2 component dissapears, instead of showing “Toronto”

Any help is really appreciated!

---

<div class="post-metadata">

**Author:** ![DaronBurleson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daronburleson/32/34694_2.png) [@DaronBurleson](https://community.glideapps.com/u/DaronBurleson)\
**Post date:** [November 18, 2021, 6:42pm UTC](https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722/2 "2021-11-18T18:42:38Z")

</div>

Video here, just in case it helps:

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 18, 2021, 11:55pm UTC](https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722/3 "2021-11-18T23:55:51Z")

</div>

[https://glide-help.zendesk.com/hc/en-us/requests/new](https://glide-help.zendesk.com/hc/en-us/requests/new)

Please also try to submit a ticket here so it gets to the team sooner.

---

<div class="post-metadata">

**Author:** ![DaronBurleson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daronburleson/32/34694_2.png) [@DaronBurleson](https://community.glideapps.com/u/DaronBurleson)\
**Post date:** [November 19, 2021, 4:34pm UTC](https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722/4 "2021-11-19T16:34:42Z")

</div>

Already done, thanks!

---

<div class="post-metadata">

**Author:** ![DaronBurleson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daronburleson/32/34694_2.png) [@DaronBurleson](https://community.glideapps.com/u/DaronBurleson)\
**Post date:** [November 22, 2021, 5:51pm UTC](https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722/5 "2021-11-22T17:51:17Z")

</div>

I’ve told that this is not a bug so I’m going to recap here.

I have a made a simple example to demonstrate what’s going on. It works as expected but **only if the CHOICE component is outside a form**. See the attached video where the CHOICE components are working well until I move them into the form. I’ve been told by the support team that I need to have “a list of cities and countries that match the country on the screen”, but I think that this is what I already have.

Any ideas? I think I’m missing something very obvius, but don’t know what! 🙂

Video here: [https://www.loom.com/share/24aa7165fe1848d6bc1e34800d89e343](https://www.loom.com/share/24aa7165fe1848d6bc1e34800d89e343)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 23, 2021, 7:02am UTC](https://community.glideapps.com/t/problem-selecting-screen-values-in-a-choice-component/34722/6 "2021-11-23T07:02:11Z")

</div>

Everything is happening very quickly in your video, so it’s a bit difficult to follow, but… have you checked the filter on the city choice component _after_ you move it inside the form container? I’m just wondering if maybe it gets reset when you move it.
