Show dialog box based on Toolbar option pressed in form

 1 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Saurabh
Veteran Member Send Private Message
Posts: 94
Veteran Member
All I would like to add an additional prompt when the user Presses the DELETE button in a form (the button is next to Change and Next) Looking at the form properties i can hide(UnAssign) the action but ideally looking for a way to show a dialog box and if the user presses NO to return him back Any tips? regards Saurabh
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
You can add a function that opens an Confirm Box (Yes or Cancel) and if the user selects Yes run the lawformDoFunction("D") but if they select Cancel you would return false. You would then replace the action taken on the Delete button so that your new function is called when the button is clicked.
David Williams