I tried it also and had to remove it because it would not let the form be
resubmitted after a failed client side validation with the
Required="Yes". It would sure be great if you could modify it to
accommodate that.
Harry
At 04:48 AM 1/22/01, you wrote:
>Darryl,
>
>Sure it does! Why would it preclude validating the form fields? Sometimes we
>use cfinput, but usually we just use our own javascript for client-side
>validation.
>
>Tim Fields
>RGB Studios, Inc.
>
>-----Original Message-----
>From: Darryl Lyons [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 22, 2001 2:35 AM
>To: CF-Talk
>Subject: RE: Stopping people doing the 'I clicked submit twice' thing..
>
>
>That's a great solution, but unfortunately it doesn't work with client-side
>validation in place using the standard <cfinput required="yes">
>
>-----Original Message-----
>From: Tim Fields [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 22, 2001 11:21 AM
>To: CF-Talk
>Subject: RE: Stopping people doing the 'I clicked submit twice' thing..
>
>
>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