[Seaside] Doubled Form Submit
self at je77.com
Wed Apr 15 17:09:49 UTC 2015
button (not too difficult). It seems crazy that a browser even allows for a
form to be submitted multiple times. I once got into trouble because I was
transferring money to my Paypal account and accidentally double clicked the
submit button. It ended up processing the request twice and almost cost me
an overdraft fee. It would be nice if seaside provided an elegant way to
ensure that a form is only processed once.
On Wed, Apr 15, 2015 at 4:02 AM Philippe Marschall <
philippe.marschall at gmail.com> wrote:
> On Tue, Apr 14, 2015 at 9:50 PM, J.F. Rick <self at je77.com> wrote:
> > I've noticed that it happens occasionally that a user double clicks the
> > submit button, sending the form content to the server twice. Is there a
> > standard way / pattern to avoid a post getting added twice?
> You could implement your own callback that is executed only once 
>  https://code.google.com/p/seaside/issues/detail?id=157
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside