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

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

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