title: Show numeric keyboard in iPhone using input text
body: <p>Notice that using <code>input type="number"</code> can display a numeric keyboard as below:</p>
  
  <p><img src="https://i.stack.imgur.com/UGSvz.png" alt="enter image description here"></p>
  
  <p>Is it possible to use <code>input type="text"</code> to display the same numeric keyboard? I <b>do not</b> want to display a number pad using <code>pattern="\d*"</code> because it is possible that the value will contain a decimal place.</p>
  
  <p>The reason I would like to use <code>input type="text"</code> instead of <code>input type="number"</code> is that I cannot get back the value if I input a non-number for a number field. For example, if I input <b>ABC</b>, it will become empty automatically. It seems to me that using <code>input type="text"</code> will be easier for this kind of control.</p>