Date:  03/28/2003 09:15:23 PM Msg ID:  001396
From:  FoxWeb Support Thread:  001394
Subject:  Re: Double-click prevention
Try using the following:
 
<input type="submit" value="Submit" onclick="this.disabled = true; this.form.submit();">

FoxWeb Support Team
support@foxweb.com email

Sent by Alan Harris-Reid on 03/28/2003 04:20:43 AM:
On an order form, I would like to ensure that users who accidentally double-click on a submit button do not create two orders. 
 
I have tried disabling the button by placing onclick="document.thisform.buttonname.disable" in the button definition.  This disables the button but does not submit the form.  I still want the form submitted, but only on the first click.
 
Any help would be appreciated.
Alan