I have a custom button on a sales order. After it is clicked, how can I disable it to prevent multiple clicks?
z
Zack
02/21/2022, 6:27 PM
Create the button in a workflow and have that trigger the next event. It will natively ask you if you really want to submit the data again with a popup
s
screnshaw
02/21/2022, 6:28 PM
Can't unfortunately. I need this to be scripted as it's a little special
z
Zack
02/21/2022, 6:28 PM
Gotcha. I had this same issue and I converted it to a workflow with a workflow action script that passed the logic the same way as the previous way.