<div dir="ltr">I ended up implementing the javascript event handler to disable the submit 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.<br><div><br></div><div>Cheers,</div><div><br></div><div>Jeff</div></div><br><div class="gmail_quote">On Wed, Apr 15, 2015 at 4:02 AM Philippe Marschall &lt;<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Apr 14, 2015 at 9:50 PM, J.F. Rick &lt;<a href="mailto:self@je77.com" target="_blank">self@je77.com</a>&gt; wrote:<br>
&gt; I&#39;ve noticed that it happens occasionally that a user double clicks the form<br>
&gt; submit button, sending the form content to the server twice. Is there a<br>
&gt; standard way / pattern to avoid a post getting added twice?<br>
<br>
You could implement your own callback that is executed only once [1]<br>
<br>
 [1] <a href="https://code.google.com/p/seaside/issues/detail?id=157" target="_blank">https://code.google.com/p/seaside/issues/detail?id=157</a><br>
<br>
Cheers<br>
Philippe<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div>