A work around I have used in the past was checking for the instance
Of a session.paymentsubmitted variable. If it exists, inform them 
That it was already submitted else, set the variable and process the
payment.



-----Original Message-----
From: Larry C. Lyons [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 8:55 AM
To: CF-Community
Subject: Re: Multiple form submission

Jay,

Here's what I use on most of my submit buttons:

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

the only problem is that it does not work when javascript is turned off

hth,
larry

On 12/7/05, James Smith <[EMAIL PROTECTED]> wrote:
> I have having a problem with impatient users hitting a submit button 
> multiple times causing multiple charges to credit cards.  Does anyone 
> have a javascript that will disable the submit button once clicked or 
> even better, remove it and replace it with a "please wait" message?
>
> --
> Jay
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:186306
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to