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.

Overview

UI Access

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

Behaviors >Disable Submit Button.

Requirements

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

Reviews

Doesn't seem to work if other JS functions are on the page

January 6, 2005 by Rob Kirkwood

Seems to conflict with yaromat's check form function. Can't get it to work properly. Button does grey out but form doesn't submit. Maybe someone has an answer?

Would love to get it working because I really need this function.

Cheers

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.

Disable submit button behaviour

January 10, 2006 by Mark Wills
Doesn't work in IE 6 :-(

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!
See all 5 Reviews

You must me logged in to write a review.