on top of that you may also want to do something like this.. It let's the user know 
that something is happening.

js-
<!-- Begin
function submitForm(s)  {
s.value = "  Sending...  ";
return true;
}
//  End -->
</script>

html -
<form name=myform onSubmit="return submitForm(this.submitbutton)">
Name:  <input type=text name=firstname size=20>
<input type=submit name=submitbutton value="All Done">
</form>
</center>

also - Mat - will a cflocation after the form has been handled prevent quick double 
hits of the submit button? I
was not sure it would.

jay miller



Matthew Walker wrote:

> After the form has been handled, cflocation the visitor to a thank you
> page.
>
> > -----Original Message-----
> > From: Brian Simpson [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 5 June 2002 4:40 p.m.
> > To: CF-Talk
> > Subject: Form Submision only once ??
> >
> >
> > I'm back needing help again.
> >
> > How do you keep a form from being submitted only once?
> >
> > I have a entry form that same some information to a database. If the
> > subscriber hits the browser refreash the form get put into
> > the database
> > twice. How do I prevent the data from going into the database
> > twice (or as
> > many times as they hit the refresh key?
> >
> > Thanks once again for your help.
> >
> >       Brian
> >
> >
> >
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to