3

I'm developing a web app for iphone using dashcode. I'm stuck where user needs to enter zip code or phone number and the app doesn't show the numpads but the regular keyboard.

any help would be appreciated.

thanks

RoundOutTooSoon
  • 9,821
  • 8
  • 35
  • 52

2 Answers2

4

You can't. It used to be possible in iPhone OS 1 (it showed up for any <input> element with a ID that included 'zip' or 'phone), but OS 2/3 removed this functionality.

ceejayoz
  • 176,543
  • 40
  • 303
  • 368
  • Adds complexity, but hardly a showstopper. The numpad functionality could definitely be duplicated with some HTML, CSS and JavaScript. It's just a bunch of buttons. – ceejayoz Sep 08 '09 at 19:32
  • The regular keyboard allows users to enter numbers. – Amok Sep 08 '09 at 19:42
  • Yes, but I suspect @SimpleCode knows that. I suspect he's looking for a numpad UI for numeric-only entry. – ceejayoz Sep 08 '09 at 19:43
3

You can now as of iPhone 3.2-ish. See: iPhone UIWebview: How to force a numeric keyboard? Is it possible? - now with pictures!

Community
  • 1
  • 1
JJ Rohrer
  • 2,671
  • 5
  • 29
  • 37