This question has been flagged
1 Reply
5842 Views

How to add pop up message or message box with message every button clicked?

Avatar
Discard
Best Answer

One way is adding confirm attribute to xml button definition like:

<button string="TEST BUTTON" type="object" name="name_of_method" confirm="Are you sure ..." />

after module upgrade you will have confirm message popup asking: Are you sure...
 

hope it helps

Avatar
Discard