Enable confirmation before deleting

Hello, i apologize in advance for my approximate English, I am French and I use a translator.

On my application, I have set up a “delete” button that allows me to delete row by row. When I press this button, I arrive on a new page with a button asking me if I am sure I want to delete.

How do I get this button to clear the row in question?

Thank you in advance for your help.

Once you confirm that you want to delete the row, doesn’t it delete the row?

When I click on te “delete” button, it directly deletes the line. I would like that when I click on this button, a confirmation window before deletion appears. The objective is to avoid erasing a line following a handling error.
So i configured the action in such a way that when I click on the delete button, a “form” page opens. On this page I have two buttons. the “yes” button and the “no” button.
When I click “no”, I go back to the previous page, but when I click “yes”, I don’t know how to get it to delete the line.

Use the Delete Row action.

Yes I already do, but it erases everything directly without giving me the right to make mistakes. What I want is a message or whatever that asks me if I am sur I want to delete, and to this message I answer yes or no I want to delete.

Two things here:

  1. The ‘Yes’ button is what should have the delete action. Not the first delete button. You have the right idea, but you just need to apply the delete action to the Yes button on the confirmation screen.
  2. I’m not sure you should be using a form a screen. Instead I would use ‘Show New Screen’ → ‘This Item’

indeed it was the right solution. it seemed to me to have already done this action but it had not worked, I had probably missed a step. in any case thank you very much for your help.

1 Like

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