Display regions corresponding to the country

Hello,

I have a Country dropdown ( Option set) and a Region dropdown ( which I would also like to have as an option set).
I would like to display the regions that correspond to the selected country.
Can you tell me how to do this?

Thank you very much :wink:

1 Like

Hey @douzaines.polder-0v :wave:

You can use attributes of an option set. Simply, add a new attribute to your Countries option set and add the corresponding regions. See the screenshots below:
image

Then, you can edit each countries regions:
image

And here is the editor:

I hope this helps.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

The regions dropdown will be of type text and its source will be the country dropdown’s value’s regions (if this is what you mean).

brave_OOcKhBLMTb

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

The only logical explanation is whatever you put to default value is not text.

What does the issues popup say?

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

Country dropdown isnt supposed to be text anyways.

Your screenshot was for the regions dropdown and its initial value should be text.

I could set a text for default value as text and it works.

I dont think your custom dropdown should make a difference.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

Maybe explain what you are trying to do rather than small issues. Maybe there is something you are missing in the big picture. What is the high level goal you are trying to do?

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

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