I just wanted to share this all with you as it was a problem that
plagued me for a little while.

When you want the user to input a number into the text field, you must
set the name attribute to contain 'zip' or 'phone'.

For example:

<input type="text" name="phone_number" />
or
<input type="text" name="zip" />

When your user selects the field they will be presented with the
iPhone's numeric keypad.

Apparently there are better solutions such as the CSS -wap-input-format.

Happy Programming!

Source: 
http://www.bennadel.com/blog/1197-Defaulting-To-The-Numeric-Keyboard-On-The-iPhone.htm

--
Thank you for your time,
Mark 'Dygear' Tomlin;

--

You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to