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

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 02 Oct 2011 19:19:13 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RARZB-0006vt-7r@jessica.w3.org>

--- Comment #24 from Marat Tanalin | tanalin.com <mtanalin@yandex.ru> 2011-10-02 19:19:12 UTC ---
By the way, it would be nice to be able to use 'trim' attribute not only on
individual fields, but on forms and maybe fieldsets. This probably would be
ideal solution -- very usable and elegant.

Having 'trim' attribute specified for a form could have same result as if all
of the form's fields had individual 'trim' attributes.

For example:

    <form action="#" trim>
        <input name="lorem" />
        <input name="ipsum" />
        <textarea name="dolor"></textarea>

would be equivalent to:

    <form action="#">
        <input name="lorem" trim />
        <input name="ipsum" trim />
        <textarea name="dolor" trim></textarea>

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 Sunday, 2 October 2011 19:19:18 UTC

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