
Hi All,
I have a requirement, in which I have to add one Custom button and need to call Custom action on click of that button.
In order to prevent user to hit the button multiple time, We want to keep it disabled until Action complete its execution in the background and return the response.
Once response is received I need to enable the button back.
Please let me know the best way to achieve this requirement.
Hi,
I’d like to recommend you to add the button with an HTML Web Resource.
Then you can add some JavaScript into it to control the button to be abled or disabled based on your actual situation.
Insert the web resource into the form as your wish.
Here is the code snippet.
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Nya