Topic awaiting preservation: Submit protection (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Denmark |
posted 05-02-2002 13:39
Afternoon |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 05-02-2002 14:02
Rane: If it is only a 5 second wait then its probably something like JavaScript you are looking for. I think it was the Doc who dropped this script in when the subject was raised: code: <script language="javascript">
|
Bipolar (III) Inmate From: Denmark |
posted 05-02-2002 14:15
Alrighty, thanks a lot Emps |
Bipolar (III) Inmate From: USA! USA! USA! |
posted 05-02-2002 16:04
button.onsubmit = function(){return false;} |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-02-2002 18:22
Remember too unless you are using some sort of frameset or fancy DHTML form submission then the user is going to be redirected to another page that processes the cgi. So really you can just use doc's script instead of waiting the 5 seconds. (which will disable the submit as soon as it's hit while the user gets processes via cgi |