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

Aaron Bassett me at aaronbassett.com
Tue Jan 26 06:34:13 PST 2010


> 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


More information about the whatwg mailing list