# Dynamic Dropdown Menu

**URL:** <https://forum.bubble.io/t/dynamic-dropdown-menu/8627>\
**Category:** Need help\
**Created:** [December 9, 2016, 12:47am UTC](https://forum.bubble.io/t/dynamic-dropdown-menu/8627 "2016-12-09T00:47:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![remdim](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@remdim](https://forum.bubble.io/u/remdim)\
**Post date:** [December 9, 2016, 12:47am UTC](https://forum.bubble.io/t/dynamic-dropdown-menu/8627/1 "2016-12-09T00:47:18Z")

</div>

Thanks in advance for any responses!

Scenario I’m trying to achieve:

//Creating a New Profile of a Person w/ Group Sorting Options

-On ‘page 1’, user can enter name of new ‘Profile’. A Text Input Field, Dropdown Menu, and Enter Button are present.  
-User enters name and, if it’s their first time using the site, the Dropdown is only populated with ‘Everyone’ and ‘Add New Group’.  
-If user chooses ‘Everyone’ and clicks/taps the Enter Button, the entered name is displayed on a separate ‘Everyone’ page inside of a Repeating Group with other names tagged ‘Everyone’. **Simple**.  
-If user chooses ‘Add New Group’, they are presented with a text entry. This text is given a new page (with corresponding Repeating Group), as well as **(my question-\>)** creates a new line in the Dropdown Menu for here forward.  
-From every time here on, the text the User entered is an option (with link to page) in the Dropdown Menu.

I know how to pass info to a page, use repeating groups, and the basics of databases. The default options and text additions in a Dynamic Dropdown Menu are tripping me up.

Thanks again!

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [December 9, 2016, 3:09am UTC](https://forum.bubble.io/t/dynamic-dropdown-menu/8627/2 "2016-12-09T03:09:32Z")

</div>

If I’m understanding correctly…

You may need to restructure your data a little. So, 2 data types:

Group

- Label (text)

Profile

- Name (text)
- Group (Group)

–\> 1 page needed that is type group.  
–\> The dropdown is type group and options are all groups, field to identify is “label”

So, when a group from the dropdown is selected, user is directed to the single page (type group), and that dropdown value is sent to the page. The RG on the page will display a list of all profiles whose group field = Current page’s group.

Creating a new profile will require you assign a group to it (group field), whether your already created Everyone group or one newly created.

This also means that “add new group” will need to be a separate button to reveal group label input.

Let me know if this works for you and/or you need more elaboration.

* * *

Gaby | [Coaching Bubble](http://coachingbubble.com)

---

<div class="post-metadata">

**Author:** ![remdim](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@remdim](https://forum.bubble.io/u/remdim)\
**Post date:** [December 9, 2016, 11:59am UTC](https://forum.bubble.io/t/dynamic-dropdown-menu/8627/3 "2016-12-09T11:59:32Z")

</div>

@romanmsg So no chance of putting a “add new” Group on the dropdown? I’m guessing due to restrictions of the platform…

---

<div class="post-metadata">

**Author:** ![remdim](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@remdim](https://forum.bubble.io/u/remdim)\
**Post date:** [December 9, 2016, 12:22pm UTC](https://forum.bubble.io/t/dynamic-dropdown-menu/8627/4 "2016-12-09T12:22:51Z")

</div>

Alright; I’m stuck in a spiraling Group Loop nightmare.

> **[Bubble Editor - tdwp-demo](https://bubble.io/page?type=page&name=dropdown_input_page&id=tdwp-demo&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Is there a way/place to high-five or send a 1990’s-style cheese basket to the creators of this platform? I spent a year of free time trying to do in HTML/CSS/JS/Angular/PHP/etc what I’ve accomplished in 1 week with bubble!

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [December 9, 2016, 7:29pm UTC](https://forum.bubble.io/t/dynamic-dropdown-menu/8627/5 "2016-12-09T19:29:21Z")

</div>

Ok, check out what I did. Let me know if this is what you were looking for. Create a profile, assign to group, go to that group’s page. If Group is not available, create new group.

You’re right, with a dropdown being a dynamic list of a specific type (groups), you can’t add a plain text “add new” as it’s an incompatible type.

---

<div class="post-metadata">

**Author:** ![remdim](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@remdim](https://forum.bubble.io/u/remdim)\
**Post date:** [December 9, 2016, 7:56pm UTC](https://forum.bubble.io/t/dynamic-dropdown-menu/8627/6 "2016-12-09T19:56:06Z")

</div>

Oh, I see now. I thought I was having difficulty understanding the data workflow but I was over-thinking it. Based on your changes, I just wasn’t approaching the initial ‘set up’ in an efficient manner.

For the benefit of others…

 ![](https://us1.discourse-cdn.com/bubble/original/2X/0/0d5f192e0f0d7cbc25cbdf80ca53623499e54cef.png) ![](https://us1.discourse-cdn.com/bubble/original/2X/d/dc2bbd32d6a4accc62ee8562abb808c899388337.png)  
 ![](https://us1.discourse-cdn.com/bubble/original/2X/e/ed2725031fba2d776e470cf8244981fafa0dfa72.png) ![](https://us1.discourse-cdn.com/bubble/original/2X/d/df721fa87c2238356adea9a2e1d782d06e063cff.png)

Thanks!
