# Delete button with confirmation Create popup possible?

**URL:** <https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908>\
**Category:** Ask for Help\
**Created:** [November 22, 2021, 3:07pm UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908 "2021-11-22T15:07:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waser\_I\_Solutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/waser_i_solutions/32/34937_2.png) [@Waser\_I\_Solutions](https://community.glideapps.com/u/Waser_I_Solutions)\
**Post date:** [November 22, 2021, 3:07pm UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908/1 "2021-11-22T15:07:20Z")

</div>

If I add a delete button, the row is deleted immediately. Can I create a screen to receive a confirmation before deleting, preferably in the form of a popup, is that possible?

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 22, 2021, 4:01pm UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908/2 "2021-11-22T16:01:31Z")

</div>

Yes, first use the action to set column value to be true on your delete button to bring up the modal box screen and confirmation button. Set the visibility conditions to hide/unhide the delete button, modal box, and confirm button.

The second is to give an action to the two yes/no confirmation buttons to delete the row or cancel with the action set column value to false.

You need CSS to form the modal box screen, it can be found in the link below:

> [@Tell Glide how you use CSS](https://community.glideapps.com/t/tell-glide-how-you-use-css/27641/21):
>
> Summaryplay_button Full Mobile/Destop Backgroundplay_button Modal/Pop-up (gradient stylish)play_button No Nav-bar Titleplay_button Stylish Header - Rounded Border

---

<div class="post-metadata">

**Author:** ![Waser\_I\_Solutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/waser_i_solutions/32/34937_2.png) [@Waser\_I\_Solutions](https://community.glideapps.com/u/Waser_I_Solutions)\
**Post date:** [November 22, 2021, 8:16pm UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908/3 "2021-11-22T20:16:38Z")

</div>

Thank you for your message. unfortunately I don’t get it, I’m not a pro. I’m working on glide pages, I don’t get a modal box, if I set an action to “Set Value”, you can give me an explanation, thank you.

---

<div class="post-metadata">

**Author:** ![JuanM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/juanm/32/33666_2.png) [@JuanM](https://community.glideapps.com/u/JuanM)\
**Post date:** [November 22, 2021, 9:26pm UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908/4 "2021-11-22T21:26:43Z")

</div>

In order not to stress out for me it worked well as follows …

my app is in spanish

1.- the user clicks on “ELIMINAR DEL CARRITO”

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/7729d8bafbbd396bc74e32ca7d91a9d5bdc49a36.png)

2.- then select whether to delete or cancel the operation

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/f/0f460cd77503214afdbd74ec391aa4e7a4b161dc.png)

I hope and this idea helps you

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 22, 2021, 11:42pm UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908/5 "2021-11-22T23:42:58Z")

</div>

I don’t believe CSS works for Glide Pages as of now, so what you can do is:

- Show a button that says something like “Delete this entry”, the action will be “Show new screen” \> “This item”, with the screen name being “Delete entry”.

- Show a text to tell people something like “Are you sure you want to delete this? This action can not be undone”.

- Below that, show a button bar, the left being a “Cancel” one with a “Go back” action. The right being a “Delete” one with the actual “Delete row” action, plus two “Go back” actions to get back to the main view.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 23, 2021, 7:53am UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908/6 "2021-11-23T07:53:51Z")

</div>

Need a category or subcategory in the chat that distinguishes the platform used: apps or pages.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [November 24, 2021, 8:07am UTC](https://community.glideapps.com/t/delete-button-with-confirmation-create-popup-possible/34908/7 "2021-11-24T08:07:29Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
