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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 12 Aug 2011 23:00:37 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-13769-2486@http.www.w3.org/Bugs/Public/>

           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,

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.


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 Friday, 12 August 2011 23:00:38 UTC

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