# Allow user to undo an item edit/delete

**URL:** <https://community.glideapps.com/t/allow-user-to-undo-an-item-edit-delete/43663>\
**Category:** Feature Requests\
**Created:** [June 29, 2022, 2:02pm UTC](https://community.glideapps.com/t/allow-user-to-undo-an-item-edit-delete/43663 "2022-06-29T14:02:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lawsonk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lawsonk/32/43869_2.png) [@lawsonk](https://community.glideapps.com/u/lawsonk)\
**Post date:** [June 29, 2022, 2:02pm UTC](https://community.glideapps.com/t/allow-user-to-undo-an-item-edit-delete/43663/1 "2022-06-29T14:02:46Z")

</div>

I love that Glide allows users (in my case, customers) to directly edit or delete data. But it would be helpful if the notification pop-up (see green box at bottom:)

 ![Screen Shot 2022-06-29 at 10.03.29 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/2/027669c99ae9bf09c557248358a742f1f10d72dc.png)

after a user edited or deleted something had a clickable “undo” link so that a user would have a few seconds to undo their edit/delete. Like in Gmail how after you send an email you can easily undo:

 ![Screen Shot 2022-06-29 at 10.00.25 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/e/aee757e9ee45c0abe4a692535926058d4c7a957f.png)

---

<div class="post-metadata">

**Author:** ![Daniel\_Gjode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_gjode/32/47347_2.png) [@Daniel\_Gjode](https://community.glideapps.com/u/Daniel_Gjode)\
**Post date:** [June 30, 2022, 9:29am UTC](https://community.glideapps.com/t/allow-user-to-undo-an-item-edit-delete/43663/2 "2022-06-30T09:29:20Z")

</div>

I would like this feature too.  
Both the undo functionality, but maybe also the option to activate a modal that asks the user to confirm deletion.

I also believe, as a developer, it would be wonderful to be able to restore deleted rows – Say, if I or a user by accident deletes one or more rows by mistake.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 30, 2022, 10:17am UTC](https://community.glideapps.com/t/allow-user-to-undo-an-item-edit-delete/43663/3 "2022-06-30T10:17:12Z")

</div>

> [@Daniel\_Gjode](#):
>
> Both the undo functionality, but maybe also the option to activate a modal that asks the user to confirm deletion.

This is possible if you use a custom form.  
Actually you don’t even need a custom form. Just have a Delete button with an action that opens the confirmation modal, and then only delete the row once the user confirms.

> [@Daniel\_Gjode](#):
>
> it would be wonderful to be able to restore deleted rows – Say, if I or a user by accident deletes one or more rows by mistake.

For this case, one option you have is to use a “soft delete”. So instead of deleting the row, you mark it as deleted using (for example) a boolean column, and then use that column as a filter. From a user perspective the row would be gone, but in reality it’s just hidden.
