Re: [w3c/browser-payment-api] Phone number format (#390)

I took a peek at HTML 5.1 [1] which has this note:

 "Unlike the URL and E-mail types, the Telephone 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 pattern attribute or the setCustomValidity() method to hook into the client-side validation mechanism."

Should we proceed similarly?

Ian

[1] https://www.w3.org/TR/html51/sec-forms.html#element-statedef-input-telephone

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/issues/390#issuecomment-270939480

Received on Friday, 6 January 2017 16:18:53 UTC