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

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

--- 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>
    </form>

would be equivalent to:

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

-- 
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