# Deleting a group via popup

**URL:** <https://forum.bubble.io/t/deleting-a-group-via-popup/37600>\
**Category:** Need help\
**Created:** [September 9, 2018, 1:50pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600 "2018-09-09T13:50:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![graciolli.f](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/graciolli.f/32/27706_2.png) [@graciolli.f](https://forum.bubble.io/u/graciolli.f)\
**Post date:** [September 9, 2018, 1:50pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600/1 "2018-09-09T13:50:04Z")

</div>

I have a group (Group Idea) within a repeating group (Idea List). I have an X icon within that Group Idea that I was using to delete Group Idea. However, I’d like to add a popup asking the user if they’re sure they want to delete. Then from there, have a button, “Yes, I’m sure” - and that button then deletes Group Idea. Problem is that now I can’t delete Group Idea from a button within the popup - the data options available for deletion don’t include Group Idea. Is this possible to do? Am I doing something wrong?

Thank you.

---

<div class="post-metadata">

**Author:** ![richard6](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@richard6](https://forum.bubble.io/u/richard6)\
**Post date:** [September 9, 2018, 1:59pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600/2 "2018-09-09T13:59:14Z")

</div>

I did this like this…

Have a state of your repeating group to hold the item you want to delete

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/1/e/1e7d998f4264f9e0ed058212d2c047396e7d7e0a.png)  
set it when you press delete and show your popup  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/3/0/30f3d650d14cffabfda8943f033d28fd8bfd108a.png)

Link your yes button to workflow to delete the repeating group’s item to delete, then empty the state.  
Link your no button to workflow to empty the state and re-hide the popup

---

<div class="post-metadata">

**Author:** ![laurence](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/laurence/32/24296_2.png) [@laurence](https://forum.bubble.io/u/laurence)\
**Post date:** [September 9, 2018, 2:17pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600/3 "2018-09-09T14:17:59Z")

</div>

What if you made the popup’s type Group Idea?

When X is clicked, pass to the popup the Group Idea to be deleted. Then the popup would have the Group Idea to delete. I’m not sure if the selection would be “This workflow’s Group Idea” or “This popup’s Group Idea”.

Would this work?

---

<div class="post-metadata">

**Author:** ![keith](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/keith/32/56020_2.png) [@keith](https://forum.bubble.io/u/keith)\
**Post date:** [September 9, 2018, 7:30pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600/4 "2018-09-09T19:30:12Z")

</div>

Yes, that would be the more Bubbly way to do this.

---

<div class="post-metadata">

**Author:** ![keith](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/keith/32/56020_2.png) [@keith](https://forum.bubble.io/u/keith)\
**Post date:** [September 10, 2018, 4:55pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600/5 "2018-09-10T16:55:02Z")

</div>

Since this question’s been coming up in various forms, I made a little video showing how you’d do this and other similar types of interfaces. Might be helpful to you:

> [@Linking a confirmation pop up to a repeating group](http://forum.bubble.io/t/linking-a-confirmation-pop-up-to-a-repeating-group/37622/4):
>
> @sounderly.help This question’s been coming up a lot lately. Here’s a little video I made (not the best one in the world, but it demonstrates how you’d go about building this, along with some other related common interfaces. (Sorry, I went and truncated this a bit early as it was going down in the weeds. You’ll probably get the idea by watching the first 20 minutes of this. Not a rehearsed video - just showing you how you iterate on this until you get what you want. All the basics are explaine…

---

<div class="post-metadata">

**Author:** ![graciolli.f](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/graciolli.f/32/27706_2.png) [@graciolli.f](https://forum.bubble.io/u/graciolli.f)\
**Post date:** [September 10, 2018, 8:34pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600/6 "2018-09-10T20:34:36Z")

</div>

This is really helpful! Thank you Keith!

---

<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:** [November 18, 2018, 1:53pm UTC](https://forum.bubble.io/t/deleting-a-group-via-popup/37600/7 "2018-11-18T13:53:13Z")

</div>

Closed on November 18, 2018, 1:53pm UTC

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