Edmund
Edmund

Reputation: 1

How to control which keyboard is displayed when a user touches a text field in iPad?

I am currently developing a web application to be run in iPad. How do I control which keyboard is displayed when a user touches a text field?

input type="text" pattern="[0-9]*"

I have tried the above html codes which tested working in ITouch but in the Apple iPad SDK emulator, it imply brings up the normal keyboard.

Any idea?

Thank you.

Upvotes: 0

Views: 285

Answers (1)

kennytm
kennytm

Reputation: 523424

There is no "numeric keyboard" in iPad. Look, the size of the iPad keyboard is 768x264, it is very awkward to put just 12 keys there.

This code gives the number/symbol plane which is the best you could do.

Upvotes: 1

Related Questions