title: iPhone UIWebview: How to force a numeric keyboard? Is it possible?
body: <p>I'm experimenting with PhoneGap to develop some iPhone apps. PhoneGap basically wraps a UIWebView - it works well.  The problem is the my app has several input fields that only take numeric input.  I really need to force the numeric keypad instead of accepting the default standard keyboard, which then forces the user to switch to the numeric on every field.  Does anyone know if this is possible?  How?</p>
  
  <p>Clarification:
  I know that Apple doesn't currently provide any API to allow this.  I'm wondering if creating a custom class that inherited from UIWebView might help, or maybe creating a custom keyboard would open up some possibilities?</p>
  
  <p>Update 6 Nov, 2009 - As noted below, Apple has recently updated safari functionality so that this is, once again, supported. So the accepted answer was changed to reflect that.</p>
  
  <pre><code> &lt;html&gt;
  &lt;input type='tel'/&gt;
  &lt;input type='number'/&gt;
  &lt;input type='email'/&gt;
  &lt;input /&gt;
  &lt;/html&gt;
  </code></pre>