HTML5 has a new input type named "number". On most mobile smartphones this brings up a numeric keypad. On pre-html5 phones the type falls back to "text" and we are OK. Yet, on some models the numeric keypad does not have a period and one cannot click the "symbols" button to add one. Known models with this flaw are:
- Samsung Galaxy S4, see: Missing period for Samsung Galaxy S4 numeric keypad
- Samsung Galaxy Note II
- Samsung Galaxy Tab 2 10". see: Samsung Galaxy Tablet does not allow entering floating point numbers to inputs with "number" type
- ????
What other models? Older Samsung Android 2.2 phone does not have this problem. Other Android devices such as Nabi Tab do not have this problem. I read the Galaxy S3 did not have this problem.
See related discussion:
- <input type="number"> in Firefox. Why doesn't Mozilla support number inputs in its browser?
- HTML5 - input=number and incompatible browsers
- HTML5 input type number vs tel
Also, not noted on those is that input type="tel" works fine for iPad but does not work as a replacement for number on an iPhone. So, a webapp must determine the device model or else resort to input type="text".
What phone and tablet models incorrectly interpret input type="number"
as a whole, non-decimal input keyboard?
number
support. Not all browsers will support it even for devices that offer it (e.g., they roll their own input mechanism rather than relying upon Android's native IMEs). And not all IMEs will necessarily honor the browser's request for a numeric keypad with a period, since IMEs can be written by anyone. – StemwareWebView
have the same behavior in this area. – Stemware