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.


UI Access

You can use this action behavior when a submitbutton is selected by choosing

Behaviors >Disable Submit Button.

Type: Behavior
Product: Dreamweaver 3, Dreamweaver 4, Dreamweaver MX, UltraDev 4, Dreamweaver MX 2004
Browser: All

Place your review about Disable Submit Button

You must me logged in to write a review.

IE7 issue
September 13, 2007 by Kenneth Sim
This behavior dose not work with an image submit button in IE7. The button become disabled onload. On the other hand it works just fine in FireFox 2.0
Disables Submit but does not submit form
December 24, 2006 by Ray Hunt
I too had this script execute in error. I use a javascript validate as well and the form does not submit but the submit button does disable. Almost cost me an order on my webstore, possibly others!
Disable submit button behaviour
January 10, 2006 by Mark Wills
Doesn't work in IE 6 :-(
RE: Doesn't seem to work if other JS functions are on the page
January 6, 2005 by Chris Charlton
If this one did't work, until an update, you can try Kaosweaver Submit Once, much slimmer in options, but worth a shot.
See all 5 Reviews