Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you get the number keypad to come up in an iPhone web app?

On a web page that is to be displayed on an iPhone, is there a way to get the number pad to come up when the user taps in the field, instead of the qwerty keypad?

This guy says here's how to do it, but as of 2.0, this "feature" was disabled.

I'm guessing there's some fancy javascript to employ to get around this limitation?

like image 252
commanda Avatar asked Nov 10 '08 22:11

commanda


People also ask

How do I bring up the keypad on my iPhone?

Go to Settings > Accessibility > Keyboards, tap Full Keyboard Access, then turn on Full Keyboard Access. Control your iPhone using keyboard shortcuts. To customize the keyboard shortcuts, tap Commands.

Why isn't my keyboard popping up on my iPhone?

Restart iPhone Simply, restart your device and you might be surprised to see the keyboard back and working on your iPhone or iPad. Go to Settings > General > scroll down and tap on Shut Down. On the next screen, use the Slider to Shut Down iPhone. Wait for 30 seconds and Restart iPhone.

What are the 3 types of Keyboards on iPhone?

Though most of us are accustomed to the default QWERTY keyboard layout, iOS does provide options to toggle between QWERTY, AZERTY, and QWERTZ.


1 Answers

If you use the HTML5 number input type, the keyboard will default to showing numbers. It's not the number-only keyboard, but it's a bit better than just text.

like image 109
icktoofay Avatar answered Nov 03 '22 19:11

icktoofay