# Display value of dropdown in repeating group

**URL:** <https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567>\
**Category:** Need help\
**Created:** [April 14, 2023, 1:00pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567 "2023-04-14T13:00:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish.pundir](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@ashish.pundir](https://forum.bubble.io/u/ashish.pundir)\
**Post date:** [April 14, 2023, 1:00pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/1 "2023-04-14T13:00:46Z")

</div>

Hello,  
I want that when we select a dropdown value each time it show in a row( which is repeating group). and at last when we save the dropdown all selected value stored in data base.

so, there is drop down name add guest whenever user select dropdown value then the value store in repeating group just below it. and at last we can save that list of repeating group list of guest.

 ![add](https://us1.discourse-cdn.com/bubble/original/3X/e/1/e124fa3c362e2e2ef804bfae0a60817bfe0b456a.png)  
Please guide me .  
Thanks

---

<div class="post-metadata">

**Author:** ![williamtisdale](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/williamtisdale/32/113723_2.png) [@williamtisdale](https://forum.bubble.io/u/williamtisdale)\
**Post date:** [April 14, 2023, 1:41pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/2 "2023-04-14T13:41:17Z")

</div>

Make a custom state on your page element. For this example I will just call it “listOfTexts” and make sure that the type is “text” and “is a list” is checked. Then for your repeating group you want the type to be “text” and the data source should be the custom state “listOfTexts”. Now add a workflow for when the input’s value is changed. Add an action to “Set State of an element” and select your page element and make the “listOfTexts” equal to “page element’s listOfTexts plus item: this input’s value”. Now every time someone selects an item from the dropdown it will be added in the repeating group. Finally when you want to save just reference the page element’s “listOfTexts” or the RepeatingGroup’s list of things.

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [April 14, 2023, 1:42pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/3 "2023-04-14T13:42:18Z")

</div>

There are various plugins that let you access input values from inside RGs, but if you want to do it in vanilla Bubble you’ll have to pass the selected value outside the RG so that you can access it on the outside.

You’ll also need a way to associate that value with the specific RG cell (either the object or the cell index).

So a custom state list of texts is the way to do it. (note: any time the value is changed you’ll first need to remove the text containing the previous value from that list, then add the new one)

---

<div class="post-metadata">

**Author:** ![ashish.pundir](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@ashish.pundir](https://forum.bubble.io/u/ashish.pundir)\
**Post date:** [April 14, 2023, 2:36pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/4 "2023-04-14T14:36:28Z")

</div>

![dobt](https://us1.discourse-cdn.com/bubble/original/3X/f/5/f5dd2b910418d8eaec08f0392f409536ec223873.png)  
In workflow i am not able to find things as you suggest can you help me more. I have set the value of repeating group to text and data source is custom state named as “guest” (list) in page.  
But further in workflow i am not able to do it.

---

<div class="post-metadata">

**Author:** ![williamtisdale](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/williamtisdale/32/113723_2.png) [@williamtisdale](https://forum.bubble.io/u/williamtisdale)\
**Post date:** [April 14, 2023, 2:38pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/5 "2023-04-14T14:38:21Z")

</div>

It looks like you have already selected “contains”. Click on the word “contains” and change it to “plus item”.

---

<div class="post-metadata">

**Author:** ![ashish.pundir](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@ashish.pundir](https://forum.bubble.io/u/ashish.pundir)\
**Post date:** [April 14, 2023, 2:44pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/7 "2023-04-14T14:44:55Z")

</div>

its done, but every time i click new value its only changing first element

---

<div class="post-metadata">

**Author:** ![williamtisdale](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/williamtisdale/32/113723_2.png) [@williamtisdale](https://forum.bubble.io/u/williamtisdale)\
**Post date:** [April 14, 2023, 2:46pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/8 "2023-04-14T14:46:17Z")

</div>

Do you want to message me the link to your editor and allow me to look?

---

<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:** [June 23, 2023, 1:01pm UTC](https://forum.bubble.io/t/display-value-of-dropdown-in-repeating-group/257567/9 "2023-06-23T13:01:04Z")

</div>

Closed on June 23, 2023, 1:01pm UTC

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