AnsweredAssumed Answered

Example of a confirm dialog prior to deleting a record while editing

Question asked by schlot on Jan 29, 2016
Latest reply on Jan 29, 2016 by timw1984

I am setting up an editor widget and I have included the delete button in the attributeinspector.   Rather than just deleting the record, I'd like to insert a dialog, that has a prompt like "Are you sure you want to delete?"  I assume I can use the result of the user's choice to determine whether or not to actually apply the edit.

 

I think I can use 'before-apply-edits' for this, but I can't wrap my head around how it all fits together. 

 

Does anyone has an example to share?

Outcomes