HTML5 Required Check Fails for Fields of Type email
Scott Sinclair <[email protected]> Sat, 28 Mar 2015 02:01:20 -0400
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <CALvxduKfo+Kx96fgxx5SQ5=jNa6B1k6ttPevQtCeAKZgbuwOjQ@mail.gmail.com> |
The following field definition fails to validate even though I believe it is perfectly valid: <input type="email" name="email" onblur="this.value = trimBlanks(this,'LeadingSpaces');" required="required" /> Error: Attribute required is only allowed when the input type is checkbox, date, datetime, datetime-local, e-mail, file, month, number, password, radio, search, tel, text, time, url, or week. A sample URL is: http://www.torontocriminallawyers.com/criminal-charges/possession-of-stolen-property Regards, Scott Sinclair We Think Solutions <http://www.wethinksolutions.com> 1-800-231-1020 x33