Re: Preventing dubbelsubmit in forms??

From: Date: Tue, 20 May 2003 22:38:03 +0000
Subject: Re: Preventing dubbelsubmit in forms??
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10928@lists.php.net to get a copy of this message
Hi Christian, I use a sever-side flag, e.g. $vposted, set to false by default. When the user submits the form, use the client-side onsubmit event to toggle to true and check the flag in whatever script handles the form. Works for me. Cheers, Jennifer christian skaiaa <christian.skaiaa@broadpark.no> wrote: Hi, I wonder if anybody has any advice on how to prevent dubbelsubmitting a form. If the user refreshes the webside the formdata get posted twice. Any nifty tricks? Thanks Christian --------------------------------- Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.

« previous php.install (#10928) next »