# Populate Default value Dynamic Dropdown based on Results

**URL:** <https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306>\
**Category:** Need help\
**Created:** [July 7, 2017, 8:15am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306 "2017-07-07T08:15:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [July 7, 2017, 8:15am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/1 "2017-07-07T08:15:13Z")

</div>

Good Day,

i would like to populate a default value of my dynamic dropdown based on the database that i entered.

i have a page that has a results  
 ![](https://us1.discourse-cdn.com/bubble/original/2X/b/b7a71148d599050430dad22df9abf1f13400869a.png)

**and i want that results to be editable so what i did is**

i created a pencil icon so when clicked it will show a popup form that contains the results in a editable form

 ![](https://us1.discourse-cdn.com/bubble/original/2X/2/2b46b23a8a1073e6aa6665dccc782f233eb87d78.png)

i set the **Location** dropdown choices to dynamic which will get data from the Location data that i created.

 ![](https://us1.discourse-cdn.com/bubble/original/2X/1/10ecf6b7f70dde183914bd509544f412e611de48.png)

I was able to achieve that.

 ![](https://us1.discourse-cdn.com/bubble/original/2X/0/0e7a1968628808efbf3fe83bafcf8574c57c33a9.png)

now what i want is to make the Default value be the same as the Results like what you see on the 1rst image.

the form default value should be like this

 ![](https://us1.discourse-cdn.com/bubble/original/2X/c/c182a240324fa14005f598f51363303487c13fad.png)

so if i will change the default value and click SAVE button it will update the Results

hope you guys got what i’m trying to say here 😃

Please Help

---

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [July 8, 2017, 3:13am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/2 "2017-07-08T03:13:55Z")

</div>

anyone?

---

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [July 9, 2017, 1:30pm UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/3 "2017-07-09T13:30:12Z")

</div>

up for this waiting for reply

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [July 10, 2017, 7:45am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/4 "2017-07-10T07:45:10Z")

</div>

Can you set up a public app with your example in it ? Or make your app public ?

It is often the best way to get help.

I think is see what you are trying to do, so you probably want to set the default value to “this cell’s location”.

---

<div class="post-metadata">

**Author:** ![louisadekoya](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/louisadekoya/32/217422_2.png) [@louisadekoya](https://forum.bubble.io/u/louisadekoya)\
**Post date:** [July 10, 2017, 9:45am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/7 "2017-07-10T09:45:02Z")

</div>

I took a quick look. At first glance, I think you need to send the current cell’s data to the pop-up when the edit icon is clicked. Workflow action: Element Actions \> Group: Display data. You should probably have this step before the show pop-up step.

---

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [July 10, 2017, 1:34pm UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/8 "2017-07-10T13:34:19Z")

</div>

i managed to show a default value but it’s showing a different entry

---

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [July 10, 2017, 1:37pm UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/9 "2017-07-10T13:37:13Z")

</div>

i tried what you said but im not sure what to put in the data source

 ![](https://us1.discourse-cdn.com/bubble/original/2X/4/4d0a38f7cc1d49900cfdc977006fbb562dcd4035.png)

---

<div class="post-metadata">

**Author:** ![louisadekoya](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/louisadekoya/32/217422_2.png) [@louisadekoya](https://forum.bubble.io/u/louisadekoya)\
**Post date:** [July 10, 2017, 2:43pm UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/10 "2017-07-10T14:43:16Z")

</div>

If I recall correctly from looking at your app earlier, I think it should be just Current cell’s Attendance. So you’re passing data from the current cell’s attendance to the pop-up, then, since you have it auto-bound, the location field can show that attendance record’s at-location value by default … I think. Sorry, hard to say without having your app in front of me again, right now, but do try that.

---

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [July 11, 2017, 1:20am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/11 "2017-07-11T01:20:36Z")

</div>

i tried but it seems not working because it was labeled as red it seems needing something to add more

 ![](https://us1.discourse-cdn.com/bubble/original/2X/2/203d5bacd4853e290782d5b006f6e7273767649d.png)

**i managed to show a default entry but it showing a different entry**

 ![](https://us1.discourse-cdn.com/bubble/original/2X/6/65645acdfc7bac75fcd205d83a93b616d5821860.png)

here’s my settings

 ![](https://us1.discourse-cdn.com/bubble/original/2X/1/192996c42f44c45e0ba5231586160211004029c7.png)

---

<div class="post-metadata">

**Author:** ![jigsgfx.gj](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jigsgfx.gj/32/14110_2.png) [@jigsgfx.gj](https://forum.bubble.io/u/jigsgfx.gj)\
**Post date:** [July 11, 2017, 7:20am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/12 "2017-07-11T07:20:21Z")

</div>

this is solved thank you so much guys for the Help…

the solution is to **Display data Element = Pop Up ( Edit Information )** what i did before was set the element to the repeating group which is the test\_results then **make the Dropdown field Place Holder point to its Section or Column** like what you see on the image above

Thanks Again

---

<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 15, 2017, 8:15am UTC](https://forum.bubble.io/t/populate-default-value-dynamic-dropdown-based-on-results/15306/13 "2017-09-15T08:15:21Z")

</div>

Closed on September 15, 2017, 8:15am UTC

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