Darryl,

Here's the best solution we've found.  It's amazingly simple and it does the
job!  Note that it's not simply changing the name of the button to "Please
Wait" - it actually disables it.

Here's the code:

<input type="submit" value="Submit" onClick="if(this.value == 'Submit')
this.form.submit(); this.value = 'Please Wait.';">

Good luck,

Tim Fields
President
RGB Studios, Inc.

-----Original Message-----
From: Darryl Lyons [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 21, 2001 8:25 PM
To: CF-Talk
Subject: Stopping people doing the 'I clicked submit twice' thing..


Has anybody found a way around this? It seems that whenever someone clicks
submit twice, data is inserted twice (updates are ok).

-----------------------------------
Regards,

Darryl Lyons
Web Development Team
LogicWorld Internet

Email : [EMAIL PROTECTED]
Web : www.logicworld.com.au
Team Site : webdevelopment.logicworld.com.au

Phone : (07) 3230 8800
Fax : (07) 2320 8801
Technical Support : (07) 3230 8811

' P L U G   I N T O   T H E   W O R L D '
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to