- From: Aaron Bassett <me@aaronbassett.com>
- Date: Tue, 26 Jan 2010 15:31:17 +0000
> However it's not always essential (e.g. for idempotent actions or in chat > applications) and in these cases authors may be OK with weak protection. > > There are benefits of client-side prevention regardless of server-side > validation: > I agree, I even stated the same in my original response "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." I am simply saying that in this particular case (detecting multiple form submissions) there is no benefit I can see to the end-user in disabling the submit button. Let them click it a dozen times if it makes them feel better (like pushing the call button on a lift to make it arrive faster!) If your server-side validation is done correctly it will make no difference. cheers Aaron -- http://aaronbassett.com http://twitter.com/aaronbassett
Received on Tuesday, 26 January 2010 07:31:17 UTC