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: Mon, 22 Aug 2011 20:55:20 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QvbWi-0000G0-Oi@jessica.w3.org>

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
                 CC|                            |jonas@sicking.cc

--- Comment #5 from Jonas Sicking <jonas@sicking.cc> 2011-08-22 20:55:19 UTC ---
Sure, you could use a pattern for this. But that's not a great solution if
everywhere where the author uses @required they'd also have to have @pattern.

The question to me is how common is it to have a required field where
white-space only is a ok value? It seems to me that this would be a very rare
edge case.

If it is in fact a very rare edge case, then wouldn't it be better so solve it
using the .setCustomValidity method?

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 Monday, 22 August 2011 20:55:21 UTC

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