[Bug 11287] New: 'setCustomValidity' call in <input> element should use 'oninput' event...

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

           Summary: 'setCustomValidity' call in <input> element should use
                    'oninput' event...
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: n.d.freear+w3bugs@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


...not the 'onforminput' event - I think.

This concerns the HTML snippet under section 4.10.7.2.5, The required attribute
at both these URLs:
  *
http://whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-required
  *
http://w3.org/TR/html5/common-input-element-attributes.html#the-required-attribute

<input id="password2" type=password onforminput="setCustomValidity(value !=
password1.value ? 'Passwords do not match.' : '')">

I can get oninput="setCustomValidity..." to work in Firefox 4 Beta 6 (Windows),
but not onforminput="...".

You may wish to compare with this example,
  *
http://w3.org/TR/html5/association-of-controls-and-forms.html#dom-cva-setcustomvalidity

I hope that helps. Keep up the great work!

Cheers,

Nick

-- 
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 Wednesday, 10 November 2010 17:40:11 UTC