W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13769] Whitespace-only values should be considered empty in required form fields

From: <bugzilla@jessica.w3.org>
Date: Wed, 31 Aug 2011 13:29:23 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qykr5-00062R-7p@jessica.w3.org>

--- Comment #8 from Marat Tanalin (tanalin.com) <mtanalin@yandex.ru> 2011-08-31 13:29:22 UTC ---
(In reply to comment #7)

What exact negative impact (any really serious) you think such
backwards-incompatibility can have in this case? As web-developer with 10-years
experience, I think there is no actual compatibility problem here:

client-side validation is purely _assisting_ functionality, it's just about
usability for user, it does _not_ ensure that data sent to server are actually
valid at all. All data should be validated on server-side _anyway_, so it's
completely wrong to rely on client-side validation only.

On the contrary, trimming whitespace by default for required fields will be
just positive _evolution_ that will make client-side validation _consistent_
with server-side one: leading/trailing whitespace is _always_ trimmed on
server-side in real-world web-applications.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 31 August 2011 13:29:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:17 UTC