[whatwg] Input type for phone numbers
bhawkeslewis at googlemail.com
Tue Mar 31 00:24:56 PDT 2009
On 31/3/09 07:24, Antti Koivisto wrote:
> I'd like to propose a new <input> type attribute value for phone numbers
> (<input type="phonenumber"> perhaps). The primary benefit would be to
> enable use of phone number specific input methods (for example a virtual
> keyboard) and pickers (for example a system address book).A useful
> minimal implementation could limit the allowed characters to those legal
> in phone numbers (+ * # and 0-9).
Sounds nice, but I think you need to follow this process more closely:
I'd recommend reviewing previous discussion of similar feature
proposals, e.g. by searching the mailing list.
An earlier draft included a "tel" type for "input", but this was dropped
after concerns it would be difficult for UAs to correct convert
telephone numbers to the required format:
If you'd still like to propose the feature, I think you'll need to
address questions like:
* What are the author or user problems you are trying to solve? You
mention virtual keyboards - are these intended to provide security in
* How do people already attempt to solve these problems (link to
examples/tutorials)? How could solutions make use of the new features
HTML5 introduces (e.g.
Are there any other possible solutions to the problems (security, adding
from address books) that HTML5 could introduce? What are the pros and
cons of all these possible solutions?
I'd note one important alternative is the emergence of systems to
autofill such profile information by providing a username on another
system, from which the information can be harvested (e.g. via
With regards to the specific solution you did propose, what defines what
is "legal in phone numbers" and what these symbols mean?
More information about the whatwg