# Conditionally Setting Static Choices for a Dropdown

**URL:** <https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683>\
**Category:** Need help\
**Created:** [December 31, 2018, 2:47pm UTC](https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683 "2018-12-31T14:47:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![antony](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/antony/32/19446_2.png) [@antony](https://forum.bubble.io/u/antony)\
**Post date:** [December 31, 2018, 2:47pm UTC](https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683/1 "2018-12-31T14:47:20Z")

</div>

Hello there Bubblers…

Do you know if I can conditionally set the _static_ choices for a dropdown? There doesn’t seem to be an option to do that in the conditional area of the element. An action would be okay to use, but I can’t see one of those either…

Thanks!  
Antony.

---

<div class="post-metadata">

**Author:** ![J805](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/j805/32/41267_2.png) [@J805](https://forum.bubble.io/u/J805)\
**Post date:** [December 31, 2018, 3:51pm UTC](https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683/2 "2018-12-31T15:51:28Z")

</div>

I think I have had that problem before, maybe bubble can add that option. My work around was adding another dropdown on top of it and then toggling it on or off with a custom state. That should work as a clunky workaround. Hope that helps.

Example:  
Preview: [https://805dropdownexample.bubbleapps.io/version-test?debug\_mode=true](https://805dropdownexample.bubbleapps.io/version-test?debug_mode=true)  
Editor: [https://bubble.io/page?name=index&id=805dropdownexample&tab=tabs-1](https://bubble.io/page?name=index&id=805dropdownexample&tab=tabs-1)

---

<div class="post-metadata">

**Author:** ![antony](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/antony/32/19446_2.png) [@antony](https://forum.bubble.io/u/antony)\
**Post date:** [December 31, 2018, 4:48pm UTC](https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683/3 "2018-12-31T16:48:59Z")

</div>

Hi there Jason… thanks for sharing your experience. Yes, it would certainly be a good enhancement to the product. I have 8 different versions of the choices to change, and I’m not keen to have 8 of them stacked on top of each other… at least not until I have the layout nailed! I’m working on a different approach to solve the user interface dilemma… A Happy New Year to you! 🙂

---

<div class="post-metadata">

**Author:** ![mebeingken](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mebeingken/32/20139_2.png) [@mebeingken](https://forum.bubble.io/u/mebeingken)\
**Post date:** [December 31, 2018, 5:23pm UTC](https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683/4 "2018-12-31T17:23:59Z")

</div>

Hey @antony,

With 8 set of choices, you might consider storing the choices in the database and just selecting the choices you want based on the condition since you can dynamically change the source for dynamic dropdown’s. Just create a new data type that can hold all the possible options as text, and include a field (or more than one) that can be used to filter the results. Then just have a dynamic dropdown with data type of text, and do a search. This way you can have one element, and just change the source as needed.

EDIT: Just saw your other post, so clearly you already know about this option! I think it is the only way for now.

  

* * *

> **Looking to improve your Bubble™ skills?**
>
> Let me turn  
> 🤔 😫 😖
> 
> into  
> 😀 🕶 👩‍🎓
> 
> Coaching and Development at [https://uniqueideas.com](https://uniqueideas.com?utm_source=bubble&utm_medium=forum&utm_content=signature-unique-ideas&utm_campaign=builders) or schedule a [free intro session](https://uniqueideas.com/coaching?utm_source=bubble&utm_medium=forum&utm_content=signature-free-intro&utm_campaign=builders) 🎁
> 
> Ken Truesdale  
> [LinkedIn](https://www.linkedin.com/in/mebeingken/)

---

<div class="post-metadata">

**Author:** ![antony](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/antony/32/19446_2.png) [@antony](https://forum.bubble.io/u/antony)\
**Post date:** [December 31, 2018, 5:26pm UTC](https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683/5 "2018-12-31T17:26:44Z")

</div>

Hey Ken, thanks for the input - am just setting it all up now, let’s see how it goes!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 11, 2019, 3:02pm UTC](https://forum.bubble.io/t/conditionally-setting-static-choices-for-a-dropdown/45683/6 "2019-03-11T15:02:09Z")

</div>

Closed on March 11, 2019, 3:02pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
