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

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 03 Sep 2011 19:55:06 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QzwJ0-0003bF-KT@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13769

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #9 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-09-03 19:55:04 UTC ---
(In reply to comment #5)
> 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.

How common is it to have a required text field where a single period is an ok
value? Or a single dash? Or the string "no answer provided"? Or a non-breaking
space?

I'm rather skeptical about making required="" go down this road. I much prefer
orthogonal features that are simple to explain and simple to understand.

IMHO if the author wants a particular value, then that's what the pattern=""
attribute is for.

-- 
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 Saturday, 3 September 2011 19:55:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:03 UTC