- From: <bugzilla@jessica.w3.org>
- Date: Fri, 12 Aug 2011 23:00:37 +0000
- To: public-html@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13769 Summary: Whitespace-only values should be considered empty in required form fields Product: HTML WG Version: unspecified Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: HTML5 spec (editor: Ian Hickson) AssignedTo: ian@hixie.ch ReportedBy: mtanalin@yandex.ru QAContact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-wg-issue-tracking@w3.org, public-html@w3.org Currently, whitespace value is considered valid during browser-side form validation according to "required" boolean attribute of a form element. This is contrary to practices of server-side form validation where leading and trailing whitespace is usually removed (trimmed) before validation since whitespace is usually not useful data of any kind. So, it makes sense to make browser-side validation consistent with good server-side validation practices: whitespace-only values should be full equivalent to zero-length value and should be considered empty too. Thanks. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Friday, 12 August 2011 23:00:38 UTC