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

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