W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2010

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

From: Aaron Bassett <me@aaronbassett.com>
Date: Tue, 26 Jan 2010 14:34:13 +0000
Message-ID: <7cc847461001260634m2fee0835hbed7de1e4b618517@mail.gmail.com>
> This is much better IMHO:
>

Ensuring that your server-side form handler can detect and properly
deal with multiple submissions?

Client-side validation should only ever supplement server-side
validation, never replace it. The reason for client-side validation is
to improve the user experience, it allows for common data entry
problems to be detected and the user notified without a round trip to
the server. IMHO disabling the submit button does not add anything to
the user's experience, so there is no reason to do it. Unless you are
too lazy to have proper server-side validation? ;)

cheers

Aaron



-- 

http://aaronbassett.com
http://twitter.com/aaronbassett
Received on Tuesday, 26 January 2010 06:34:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:20 UTC