# \[SOLVED\] Delete/Modify All Selected in Repeating Group to Database

**URL:** <https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578>\
**Category:** Database\
**Created:** [September 13, 2017, 4:08pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578 "2017-09-13T16:08:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![w.fly](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/w.fly/32/26894_2.png) [@w.fly](https://forum.bubble.io/u/w.fly)\
**Post date:** [September 13, 2017, 4:08pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578/1 "2017-09-13T16:08:28Z")

</div>

Good day!

A simple request. I need to be able to have a “delete all selected” for a table on my application!

Backstory: I expect a lot of tickets in a repeating group. I need the user to be able to quickly “Select All” and delete them all at once rather than having to delete them one by one.

 ![18 AM](https://us1.discourse-cdn.com/bubble/original/3X/5/d/5d5e6a8c993804776449198e7d8b5bc5331b820d.png)

Here’s a screenshot. I need it to be able to “Select All” → Then it selects all of the checkboxes → When “Remove All Selected” is clicked, it deletes all of the selected tickets in the database “Tickets”.

 ![37 AM](https://us1.discourse-cdn.com/bubble/original/3X/1/b/1b5bf59083bff692f573bc78440236730b25e619.png)

Here’s a copy of my database.

Here’s a link to the app → [https://tester-repeating.bubbleapps.io/version-test?debug\_mode=true](https://tester-repeating.bubbleapps.io/version-test?debug_mode=true)

Keep in mind, this is on a Free plan right now. I’ve read “Schedule a List API” is the only real way to loop… However, wanted to see if anyone had a workaround?

Thanks

---

<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:** [September 13, 2017, 4:10pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578/2 "2017-09-13T16:10:04Z")

</div>

Create a temporary list of selected deletes in a custom state as you go along. Then delete from the list at the end on a workflow on Remove all selected.

---

<div class="post-metadata">

**Author:** ![w.fly](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/w.fly/32/26894_2.png) [@w.fly](https://forum.bubble.io/u/w.fly)\
**Post date:** [September 13, 2017, 4:19pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578/3 "2017-09-13T16:19:09Z")

</div>

That makes a lot of sense! Thank you Nigel! For the database call, do I use “Make changes to a List of Things”? The List being the Custom State and then modify the name field of Tickets?

---

<div class="post-metadata">

**Author:** ![w.fly](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/w.fly/32/26894_2.png) [@w.fly](https://forum.bubble.io/u/w.fly)\
**Post date:** [September 13, 2017, 4:21pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578/4 "2017-09-13T16:21:02Z")

</div>

Also, is it possible when you click “Select All” that is checks all of the checkboxes in my Repeating Group rather than individually clicking one by one?

---

<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:** [September 13, 2017, 4:25pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578/5 "2017-09-13T16:25:21Z")

</div>

Hmmm, yes, making all the checkboxes checked … is tricker than I had thought 🙂

Ah, got it, stick the repeating group in a group and reset it.

Think it works now… was trying to get it to do “unselect” all if all were selected too.

---

<div class="post-metadata">

**Author:** ![w.fly](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/w.fly/32/26894_2.png) [@w.fly](https://forum.bubble.io/u/w.fly)\
**Post date:** [September 13, 2017, 6:09pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578/6 "2017-09-13T18:09:03Z")

</div>

Very nice! Thank you for the input. The Select All works marvelously.

Appreciate your help @NigelG . This ticket is now closed 🙂 I’ll update it to [SOLVED] in the header.

---

<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:** [September 20, 2017, 12:36pm UTC](https://forum.bubble.io/t/solved-delete-modify-all-selected-in-repeating-group-to-database/17578/7 "2017-09-20T12:36:17Z")

</div>

I have added an example to BoB for future reference.

[https://buildingonbubble.com/block/select-all-or-none-on-a-list-1505910474741x821860546228518900](https://buildingonbubble.com/block/select-all-or-none-on-a-list-1505910474741x821860546228518900)
