# Dynamic Choice Options

**URL:** <https://community.glideapps.com/t/dynamic-choice-options/15703>\
**Category:** Community Resources\
**Created:** [September 12, 2020, 9:22pm UTC](https://community.glideapps.com/t/dynamic-choice-options/15703 "2020-09-12T21:22:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sardamit](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sardamit/32/263_2.png) [@sardamit](https://community.glideapps.com/u/sardamit)\
**Post date:** [September 12, 2020, 9:22pm UTC](https://community.glideapps.com/t/dynamic-choice-options/15703/1 "2020-09-12T21:22:39Z")

</div>

Was playing around with an idea for a fantasy app and found a great use for the Screen context, for a problem where we have all tried to find some or the other solution.

[https://www.loom.com/share/221b5cec364349b89fdb3cf2e453eda9](https://www.loom.com/share/221b5cec364349b89fdb3cf2e453eda9)

For the second choice component, I have filtered the options by using the value for Choice A from the Screen context.

Apologies if this has been shared before.

---

<div class="post-metadata">

**Author:** ![Jaybird\_Farrow](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jaybird_farrow/32/135_2.png) [@Jaybird\_Farrow](https://community.glideapps.com/u/Jaybird_Farrow)\
**Post date:** [April 21, 2021, 4:40pm UTC](https://community.glideapps.com/t/dynamic-choice-options/15703/2 "2021-04-21T16:40:44Z")

</div>

was thinking about doing something similar where first choice would be Continent and second would be country. Trying to figure out how to run a lookup on the first choice to provide choices for second … any ideas?

---

<div class="post-metadata">

**Author:** ![AyS\_0908](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ays_0908/32/27349_2.png) [@AyS\_0908](https://community.glideapps.com/u/AyS_0908)\
**Post date:** [April 21, 2021, 4:45pm UTC](https://community.glideapps.com/t/dynamic-choice-options/15703/3 "2021-04-21T16:45:36Z")

</div>

hi, you just need to filter the 2nd choice component with the “Screen” option and select “Continent” in the list

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

---

<div class="post-metadata">

**Author:** ![BlakeWS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blakews/32/24377_2.png) [@BlakeWS](https://community.glideapps.com/u/BlakeWS)\
**Post date:** [April 21, 2021, 4:45pm UTC](https://community.glideapps.com/t/dynamic-choice-options/15703/4 "2021-04-21T16:45:54Z")

</div>

You can make a Table of Continents, and a Table of Countries that also has a Column for its Continent. Then you make the relation between the two Tables.

On the interface you can have a Choice Component for the Continents, and then another for Country. You apply a Filter on the Country Choice that references the Continent Relation. (This is a quick answer without everything being exactly correct.)

---

<div class="post-metadata">

**Author:** ![Wim\_De\_Coninck](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wim_de_coninck/32/28179_2.png) [@Wim\_De\_Coninck](https://community.glideapps.com/u/Wim_De_Coninck)\
**Post date:** [January 5, 2023, 3:36pm UTC](https://community.glideapps.com/t/dynamic-choice-options/15703/5 "2023-01-05T15:36:23Z")

</div>

And how can I (in my particular app) add both values (choosen continent AND choosen country) in a (third) main table?

---

<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:** [January 5, 2023, 4:11pm UTC](https://community.glideapps.com/t/dynamic-choice-options/15703/6 "2023-01-05T16:11:11Z")

</div>

Use the values that were selected in the choice components. If a related row in the 3rd table already exists, use a Set Column Values action. Otherwise Add a Row.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 12, 2024, 1:30am UTC](https://community.glideapps.com/t/dynamic-choice-options/15703/7 "2024-01-12T01:30:44Z")

</div>


