In the Form Designer for attended bots, is there a way to ask a javascript confirm on click of a button?

Is there a way to show a confirmation dialog on click of a close button in the UiPath Forms. The closeOnSubmit propertly allows to stop the button click from closing the form and submit the action back to the workflow, but how do I ask for a confirmation from the user before either closing the form or initiating a submit action from the Do block? Any ideas?

E.g., need to show a confirm dialog on click of the marked button!

1 Like