# Dynamic dropdown with auto-populated numeric range?

**URL:** <https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211>\
**Category:** Need help\
**Created:** [July 20, 2022, 10:21am UTC](https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211 "2022-07-20T10:21:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yj.johnrhee](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/yj.johnrhee/32/120503_2.png) [@yj.johnrhee](https://forum.bubble.io/u/yj.johnrhee)\
**Post date:** [July 20, 2022, 10:21am UTC](https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211/1 "2022-07-20T10:21:35Z")

</div>

The use case I am aiming is:

1. Restaurants register number of tables in an input, say 35 (table).
2. I store the data in the numeric range type, say 1-35.
3. When a guest is asked to select a table from a dropdown, I want to populate 1-35 dynamically, depending on the max value of the range.  
and I am stuck there.  
Can anyone help?

 ![Screen Shot 2022-07-20 at 12.20.09 PM](https://us1.discourse-cdn.com/bubble/original/3X/3/0/300d66d58a64f0e09fdacbdb73cbd11acaf7f607.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [July 20, 2022, 10:40am UTC](https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211/2 "2022-07-20T10:40:36Z")

</div>

Hi there, @yj.johnrhee… one way to do what you described is to use the _List of Numbers_ element from the [Toolbox plugin](https://bubble.io/plugin/toolbox-1488796042609x768734193128308700) to generate the list of tables starting at 1 and going to the restaurant’s max number of tables. [This post](http://forum.bubble.io/t/numeric-range-dropdown/45048/4) should help, and I made a quick example if you need screenshots that apply to your specific use case.

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![yj.johnrhee](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/yj.johnrhee/32/120503_2.png) [@yj.johnrhee](https://forum.bubble.io/u/yj.johnrhee)\
**Post date:** [July 20, 2022, 10:45am UTC](https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211/3 "2022-07-20T10:45:25Z")

</div>

Hey @mikeloc again. Thanks for your help as always. I will read it through and get back if I still had problems.

Best  
John

---

<div class="post-metadata">

**Author:** ![yj.johnrhee](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/yj.johnrhee/32/120503_2.png) [@yj.johnrhee](https://forum.bubble.io/u/yj.johnrhee)\
**Post date:** [July 20, 2022, 11:12am UTC](https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211/4 "2022-07-20T11:12:46Z")

</div>

I’ve managed to implement it. Thank you @mikeloc. Have a great day.

---

<div class="post-metadata">

**Author:** ![dorianharris](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@dorianharris](https://forum.bubble.io/u/dorianharris)\
**Post date:** [July 20, 2022, 5:15pm UTC](https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211/5 "2022-07-20T17:15:13Z")

</div>

I see you’ve solved your issue, so just to suggest that a range-slider may be a useful alternative to a dropdown.

---

<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:** [September 28, 2022, 10:21am UTC](https://forum.bubble.io/t/dynamic-dropdown-with-auto-populated-numeric-range/216211/6 "2022-09-28T10:21:37Z")

</div>

Closed on September 28, 2022, 10:21am UTC

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