Thank you, Kay. I have noticed that in BOY, even for the Action Button, there is a ‘Confirm Message’ Property in the Set Actions Dialog for the Action Button. Is there anything like this in Display Builder?
Also, can you please tell me where to find the Display Builder examples?
From: Kasemir, Kay
Sent: Monday, May 14, 2018 8:35 AM
To: Gregory, Ray <email@example.com>; firstname.lastname@example.org
Subject: Re: Confirm dialog for Display Builder action button?
> In Action Buttons in CSS OPIs there is an field to ask a Confirm question that will show a dialog allowing the user to cancel an action.
The Boolean Button does have a "Show Confirm Dialog" option, as does the "Boolean Switch" button, but not the plain "Action Button".
> Is there a way to do this in Display Builder Action Buttons?
Yes, for the "Boolean Button", same as in BOY.
For the "Action Button", there isn't, just as there wasn't for BOY.
But there are examples of how to open a warning dialog, how to ask for confirmation, or how to ask for a password in the examples, see /Display Builder/script_util/script_util.bob