This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Nice to have a keyword to define the required control for input element. If I define a input element as 'required', automatic error message is shown when i submit the form. There is no possibility to have the customized error message (with i18n support) for this. If that is enabled, most of the hacking will be gone. This would be again a common use case.
Mass move to "HTML WG"
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the Editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the Tracker Issue; or you may create a Tracker Issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: None (already in the spec). Rationale: It looks like the "setCustomValidity" method is what you're looking for: http://www.w3.org/html/wg/drafts/html/master/forms.html#dom-cva-setcustomvalidity