- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 07:41 AM
I have a UI Page that asks for users input from a drop-down, and then they select OK to initiate the workflow.
I am noticing that the window is staying open while processing, which allows the user to click on the OK button multiple times. This causes the workflow to initiate multiple times as well.
Is there a way to disable the button after a single click?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 11:29 AM
It looks like I was able to fix this issue with a combination of the SN Ok/Cancel buttons and the following in the Client Script:
var ok = document.getElementById("ok_button");
ok.disabled = true;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 11:29 AM
It looks like I was able to fix this issue with a combination of the SN Ok/Cancel buttons and the following in the Client Script:
var ok = document.getElementById("ok_button");
ok.disabled = true;