UI Access
You can use this action behavior when a submitbutton is selected by choosing
Behaviors >Disable Submit Button.
This small behavior disables a Submit Button after the first submit.
A common scenario is that the credit authorization number is late to come back, the user becomes anxious, and he or she presses the payment button again.
One way to protect the user is by disabling the tempting button after the user clicks it. This behavior sets the javascript when a submitbutton is selected.