# Help with repeating group sub menu

**URL:** <https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645>\
**Category:** Responsiveness\
**Created:** [July 15, 2022, 2:28pm UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645 "2022-07-15T14:28:49Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 15, 2022, 2:28pm UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/1 "2022-07-15T14:28:49Z")

</div>

I am trying to make sub menu items under a repeating group using option sets.

I have options set to each main category (Dashboard, Reports, etc). Then, I made additional options sets that have been added as a list of attributes under each main category.

Currently, I am trying to setup the menu so that when clicked, the url determines which page will show up when the user clicks on one of the menu items.

This is the logic when clicking the button:

 ![Screen Shot 2022-07-15 at 3.26.47 PM](https://us1.discourse-cdn.com/bubble/original/3X/4/c/4c80f6919c8b4d08358243ad4c80c56dee15d4ba.png)

I am having trouble finding the correct logic for the group of each subcategory. Here is an example screenshot in one:

![Screen Shot 2022-07-15 at 3.28.11 PM](https://us1.discourse-cdn.com/bubble/original/3X/b/9/b9ff467b3f52139ad676b3c2c54c2c97bd07d450.png)

There are no errors in this but it does not change the url when clicked. Anyone know the correct logic for it?

---

<div class="post-metadata">

**Author:** ![graziellamk](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/graziellamk/32/262718_2.png) [@graziellamk](https://forum.bubble.io/u/graziellamk)\
**Post date:** [July 15, 2022, 3:20pm UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/2 "2022-07-15T15:20:35Z")

</div>

Hi Paul,

[Here is a video](https://www.youtube.com/watch?v=DTXwJbrHyng&list=PLq33VG6wJjDpqKU2MkBckT-BYtneov2qu&ab_channel=J%7Cdev) that will help you greatly to understand how to send parameters etc…  
Please take the time to watch it, you may think some things will not apply to you but I guarentee you that it will…  
I’m french and english isn’t my first language but the video was very clear to me

Bon courage 😊  
Graziella

---

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 15, 2022, 3:49pm UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/3 "2022-07-15T15:49:11Z")

</div>

Thank you,

---

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 17, 2022, 10:30am UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/4 "2022-07-17T10:30:56Z")

</div>

So I watched this video however it does not address my original question about sub menus. As I already setup the main menus as this guy describes.

---

<div class="post-metadata">

**Author:** ![hanifyaskur](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanifyaskur/32/236892_2.png) [@hanifyaskur](https://forum.bubble.io/u/hanifyaskur)\
**Post date:** [July 18, 2022, 6:15am UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/5 "2022-07-18T06:15:43Z")

</div>

Based on picture you’ve uploaded, I assume you’re building a single page app.

Try to use arbitrary text, just like this.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/a/8a976965aaa273de11cf2b7e3119c5299c4aec6a.png)

Fill the “arbitrary-text” with your sub option’s display, then set the conditional of your group/page/whatever it is to be shown only when `get page from page URL :item #2 is "arbitrary-text"`

Hope this help cheers 🍻

---

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 18, 2022, 3:11pm UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/6 "2022-07-18T15:11:52Z")

</div>

Thank you for your response. I think I am still getting the logic wrong. Can you take a look at this?

 ![Screen Shot 2022-07-18 at 4.10.59 PM](https://us1.discourse-cdn.com/bubble/original/3X/1/3/13659f7f85977a4c2b8c76302ab68e460e738aa5.png)  
 ![Screen Shot 2022-07-18 at 4.10.39 PM](https://us1.discourse-cdn.com/bubble/original/3X/e/6/e69edde4a819497f6a52dff80f1b165633b12f4f.png)

Also, here is a link to my app if you want to look?

> **[Bubble Editor - Small-flock3](https://bubble.io/page?type=page&name=dashboard&id=small-flock3&tab=tabs-2)**
>
> 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.

---

<div class="post-metadata">

**Author:** ![hanifyaskur](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanifyaskur/32/236892_2.png) [@hanifyaskur](https://forum.bubble.io/u/hanifyaskur)\
**Post date:** [July 19, 2022, 12:59pm UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/7 "2022-07-19T12:59:35Z")

</div>

Hi again,

Sorry for not to get back to you immediately.

1. Delete this workflow.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/2/227ba530ae4c0cfee65ed7a3423cf2749f2dec44.png)

2. Set the conditional of your “Page-Group” to be shown only when `get page from page URL :item #2 is "arbitrary-text"` and make sure to choose **Path segments as list**.

![Screenshot 2022-07-19 194510](https://us1.discourse-cdn.com/bubble/original/3X/c/6/c6f94f3b15b63ed5d8191df2e79b7b2e2f75f8dd.png)

If you wonder why is it `:item #2` ?

This is how we define the list’s number.

small-flock3.bubbleapps.i\*/version-test/ **dashboard** / **reports**

**dashboard** = `:item #1`  
**reports** = `:item #2`

If you find this difficult, don’t hesitate to let me know.

---

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 20, 2022, 9:55am UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/8 "2022-07-20T09:55:28Z")

</div>

Wow it worked! thank you so much, have been trying to figure this out for three days!

---

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 20, 2022, 10:14am UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/9 "2022-07-20T10:14:14Z")

</div>

Would you happen to know how I could make the submenu collapsable?

---

<div class="post-metadata">

**Author:** ![hanifyaskur](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanifyaskur/32/236892_2.png) [@hanifyaskur](https://forum.bubble.io/u/hanifyaskur)\
**Post date:** [July 23, 2022, 4:18pm UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/10 "2022-07-23T16:18:36Z")

</div>

> [@pauljoneswv](#):
>
> you happen to know how I c

1. Right click on you main page then create a custom state called “Collapse”.
2. Set its type to “Text”

![image](https://us1.discourse-cdn.com/bubble/original/3X/5/6/561f4ac1e6a8fc5c73798da2078778c53e48980b.png)

1. Create workflows for each main menu button. The action called “Set state of an element”.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/4/b4ebab611b129f582668f8d9292b789db35c6d88.png)

1. Set it to its button\_name. (for example : set its value to “dashboard” if it’s for dasboard\_button)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/6/a/6aebe99b1e8cab2b434a4d5d9310c03cccdbc96a.png)

1. Add conditional to your Submenu-Group (please be noted, that your submenu-button should be inside a group).

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/1/4/1442cb3be394482a7b5824e039fe49d695b2098e.png)

1. Also make sure your Submenu-group is visible on page load and collapse when hidden.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/f/0fe6390d7947fd4295b57f1762ad3aca4f455915.png)

Hope it helps!

---

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 24, 2022, 9:32am UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/11 "2022-07-24T09:32:39Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![pauljoneswv](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pauljoneswv](https://forum.bubble.io/u/pauljoneswv)\
**Post date:** [July 24, 2022, 9:41am UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/12 "2022-07-24T09:41:09Z")

</div>

I am not able to get this working so far. It seems that any custom state I make on my page does not show up in the workflow. Since my repeating groups are the buttons and the sidebar is a floating group, I tried to make the conditional on the floating group. However, the logic still does not seem to work.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![hanifyaskur](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hanifyaskur/32/236892_2.png) [@hanifyaskur](https://forum.bubble.io/u/hanifyaskur)\
**Post date:** [July 25, 2022, 6:01am UTC](https://forum.bubble.io/t/help-with-repeating-group-sub-menu/215645/13 "2022-07-25T06:01:51Z")

</div>

Just give me access to edit your app
