Draggable Elements - delete an item and update the order in databse

Hi. I’m working on a RG where I use Draggable Elements to let the user drag and drop within the RG. Each cell shows the old and updated order number when the user has reordered the RG.

I also want the user to be able to delete an item from the RG, but I can’t figure out how to update the order numbers after the item has been deleted.

I followed the setup from this Youtube Tutorial:

How to Bubble: Reorder list in Bubble.io (reorder repeating group)

Any ideas would be highly appreciated! :slightly_smiling_face:

Before item is deleted make changes to a list of things. Any item with order ID above the deleted item -1

Second step is delete the item.

2 Likes

Thank you so much @chris.williamson1996
Now it works!

1 Like