Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Mention explicitly that type=tel isn't format-checked.
git-svn-id: http://svn.whatwg.org/webapps@3509 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 31, 2009
1 parent 6b2b953 commit 56ccb57
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index
Expand Up @@ -30653,6 +30653,14 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H

</div>

<p class=note>Unlike the <a href=#url-state title=attr-input-type-url>URL</a> and <a href=#e-mail-state title=attr-input-type-email>E-mail</a> types, the <a href=#telephone-state title=attr-input-type-tel>Telephone</a> type does not enforce a
particular syntax. This is intentional; in practice, telephone
number fields tend to be free-form fields, because there are a wide
variety of valid phone numbers. Systems that need to enforce a
particular format are encouraged to use the <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code> method
to hook into the client-side validation mechanism.</p>


<div class="bookkeeping impl">

<p>The following common <code><a href=#the-input-element>input</a></code> element content
Expand Down
12 changes: 12 additions & 0 deletions source
Expand Up @@ -34034,6 +34034,18 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {

</div>

<p class="note">Unlike the <span
title="attr-input-type-url">URL</span> and <span
title="attr-input-type-email">E-mail</span> types, the <span
title="attr-input-type-tel">Telephone</span> type does not enforce a
particular syntax. This is intentional; in practice, telephone
number fields tend to be free-form fields, because there are a wide
variety of valid phone numbers. Systems that need to enforce a
particular format are encouraged to use the <code
title="dom-cva-setCustomValidity">setCustomValidity()</code> method
to hook into the client-side validation mechanism.</p>


<div class="bookkeeping impl">

<p>The following common <code>input</code> element content
Expand Down

0 comments on commit 56ccb57

Please sign in to comment.