I implemented a WebView in my android app displaying a web form. One of the fields ask for the user to manually enter his phone number (in case the phone does not allow extracting of phone number).
Right now, the qwerty soft keyboard pops up when user selects the field. Is there a way I can have the numberpad display instead?
(Remember I'm using HTML and not native controls)
Thanks! Shaun
just use <input type="number />
in a form, that will bring up the number keypad
There is an HTML input type specially for phone numbers for that you should use
<input type="tel" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With