Re: [whatwg] Input type for phone numbers

2009-04-01 Thread Henri Sivonen
On Mar 31, 2009, at 20:22, Boris Zbarsky wrote: I agree that entering a week is pretty rare, though. ;) Is this observation based on observing U.S. sites? type=week is meant for European business use. (It doesn't even support U.S. week numbers.) Being in Europe, I'm not convinced that

Re: [whatwg] Input type for phone numbers

2009-04-01 Thread timeless
Boris Zbarsky wrote: I agree that entering a week is pretty rare, though.  ;) Henri Sivonen wrote: Is this observation based on observing U.S. sites? At work, we only enter weeks into our Bugzilla. Even our time tracking system didn't ask us to enter weeks (you have to fill in a spreadsheet of

[whatwg] Input type for phone numbers

2009-03-31 Thread Antti Koivisto
Hi, 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

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Ian Hickson
On Mon, 30 Mar 2009, 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

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Benjamin Hawkes-Lewis
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

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Antti Koivisto
On 31.3.2009, at 0:12, Ian Hickson wrote: On Mon, 30 Mar 2009, 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

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Boris Zbarsky
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

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Markus Ernst
Boris Zbarsky schrieb: 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

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Kristof Zelechovski
Phone numbers do have a strictly defined format, and the definition is provided by ITU-T E.123. HTH, Chris.

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread James Graham
Markus Ernst wrote: So, while e-mail addresses have a strictly defined format, this does not apply to phone numbers. Internationalisation would be necessary to validate them, and still it would be a hard task, as complete sets of valid formats might not be available for every country. FWIW I

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Maciej Stachowiak
On Mar 31, 2009, at 10:02 AM, James Graham wrote: Markus Ernst wrote: So, while e-mail addresses have a strictly defined format, this does not apply to phone numbers. Internationalisation would be necessary to validate them, and still it would be a hard task, as complete sets of valid

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Boris Zbarsky
Maciej Stachowiak wrote: While I sympathize with the desire to see current HTML5 form controls implemented first, frankly, we would be more interested in implementing input type=tel than the six different date/time controls currently in HTML5. It seems to me that entering a phone number is

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Peter Kasting
On Tue, Mar 31, 2009 at 10:22 AM, Boris Zbarsky bzbar...@mit.edu wrote: I agree that entering a week is pretty rare, though. ;) As someone working on supporting new input types in WebKit: Supporting any one form of date is nontrivial, but supporting the rest after you support the first _is_

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Maciej Stachowiak
On Mar 31, 2009, at 10:25 AM, Peter Kasting wrote: On Tue, Mar 31, 2009 at 10:22 AM, Boris Zbarsky bzbar...@mit.edu wrote: I agree that entering a week is pretty rare, though. ;) As someone working on supporting new input types in WebKit: Supporting any one form of date is nontrivial,

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Peter Kasting
On Tue, Mar 31, 2009 at 12:58 PM, Maciej Stachowiak m...@apple.com wrote: It depends on the quality of implementation you want to deliver. With a nice visual date picker, the UI for picking a month or a week is probably quite different from the UI for picking a day, which in turn would be

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Antti Koivisto
On 31.3.2009, at 10:02, James Graham wrote: FWIW I would imagine that the most useful aspect of input type=tel or whatever would not be validation (because validation is hard) but would be better integration on mobile devices e.g. making the default action of the keypad be number keys,

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Anne van Kesteren
On Tue, 31 Mar 2009 22:19:35 +0200, Antti Koivisto an...@apple.com wrote: Validation is indeed a complete red herring, this is about input methods. In that case it might be better to re-introduce the inputmode= attribute for this purpose. The specific type= attribute values actually ensure

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Antti Koivisto
On 31.3.2009, at 13:35, Anne van Kesteren wrote: On Tue, 31 Mar 2009 22:19:35 +0200, Antti Koivisto an...@apple.com wrote: Validation is indeed a complete red herring, this is about input methods. In that case it might be better to re-introduce the inputmode= attribute for this purpose.

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread ddailey
3:58 PM Subject: Re: [whatwg] Input type for phone numbers On Mar 31, 2009, at 10:25 AM, Peter Kasting wrote: On Tue, Mar 31, 2009 at 10:22 AM, Boris Zbarsky bzbar...@mit.edu wrote: I agree that entering a week is pretty rare, though. ;) As someone working on supporting

Re: [whatwg] Input type for phone numbers

2009-03-31 Thread Maciej Stachowiak
On Mar 31, 2009, at 1:35 PM, Anne van Kesteren wrote: On Tue, 31 Mar 2009 22:19:35 +0200, Antti Koivisto an...@apple.com wrote: Validation is indeed a complete red herring, this is about input methods. In that case it might be better to re-introduce the inputmode= attribute for this