logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Preventing dubbelsubmit in forms??: msg#00158

Subject: Re: Preventing dubbelsubmit in forms??
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@xxxxxxxxxxxx> 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.

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>