views:

524

answers:

2

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

+3  A: 

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
Is that true? If so, that's a show stopper, isn't it?
SimpleCode
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
The regular keyboard allows users to enter numbers.
Amuck
Yes, but I suspect @SimpleCode knows that. I suspect he's looking for a numpad UI for numeric-only entry.
ceejayoz
yes, i guess I'll develop a numpad using a bunch of buttons.
SimpleCode
+1  A: 

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

JJ Rohrer