[whatwg] [Input type=submit] "Disable" after submitting

Randy Drielinger Randy at ProWebDesign.nl
Tue Jan 26 02:20:20 PST 2010


Hi all,

Bit of a crazy subject, but let me enlighten:

Currently the submit button is used to submit a form once (more than average purpose). In some occassions it's possible to submit a form twice, and get it processed twice by the webserver, resulting in a double submit (e.g. forum post). For this specific example, it isn't desired bahavior.

Should there be a way to prevent a (submit) button in HTML to be clicked more than once or is this clearly a behavior (and therefore be solved with JS)?


Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100126/8ac131d9/attachment-0002.htm>


More information about the whatwg mailing list