<HTML>
<HEAD>
  <TITLE>How to block multiple form submits.</TITLE>
</HEAD>

<BODY>

<FORM ACTION="receive.cfm" METHOD="post">

<FONT SIZE="2">Dummy Form.</FONT><BR><BR>

<INPUT TYPE="Text" NAME="Name"><BR>
<INPUT TYPE="Text"><BR>
<INPUT TYPE="Text"><BR>

<INPUT TYPE="Button" NAME="Submit" VALUE="Submit Form"
onClick="if(this.value == 'Submit Form') this.form.submit(); this.value =
'Please Wait.';">

</FORM>

</BODY>
</HTML>

This submit button gets locked after it has been pressed, and a please wait
message is displayed.

(This code taken from CFVAULT.com)
:)

-Gel


-----Original Message-----
From: Mike Grey [mailto:[EMAIL PROTECTED]]

What method is used to stop data from being reposted when a user attemps to
reload an action page.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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