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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13769

--- 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