Re: preventing multiple submissions of the same form:

<script type='text/javascript'>
var submitted = 0;
function checkSubmit() {
        if (submitted == 0) {
                submitted++;
                return 1;
        } else {
                return 0;
        }

}
</script>

to the form, add an onSubmit handler:
onSubmit='check=checkSubmit(); return check;'

This will evaluate to "1" only on the first submission, all next
submissions will fail.

Haven't tested this, so you might have to tweak it a bit to get it to
work, but the algorithm should be useful.

:*CU#
-- 
***    Guido A.J. Stevens      ***    mailto:[EMAIL PROTECTED]    ***
***    Net Facilities Group    ***    tel:+31.43.3618933    ***   
***    http://www.nfg.nl       ***    fax:+31.43.3560502    ***   

PGP fingerprint E3 56 AA 30 44 EE 9E E9 CA 52 C5 B8 66 2F 77 21
____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to