title: How to show numeric soft keyboard for password field in Android
body: <p>I'm working on a mobile project for Android using PhoneGap, and testing with Samsung Galaxy S2 Skyrocket, android version 4.0.4 . Right now I have a html input field that only accepts numeric password, so first I set the input like this<br/><br/>
  <code>&lt;input type="password" id="Password"/&gt;</code><br/>
  it gives me the alphabetical keyboard in Android, but I want the show up keyboard to be numeric.<br /><br />
  So I change my code to be<br/>
  <code>&lt;input type="tel" id="Password"/&gt;</code> and use CSS to mask the password<br /></p>
  
  <pre><code>&lt;style type="text/css"&gt;
          #Password {
              -webkit-text-security: disc;
          }
  &lt;/style&gt;
  </code></pre>
  
  <p><br/>
  but the masking is not working same as the type="password", it will mask the passwords when the password box is not getting focused. If it is getting focused, password will not be masked by disc, so it will be shown. <br/><br/></p>
  
  <p>Is there any way I can make the numeric keyboard shown and let the password to be masked all the time?<br/><br/></p>
  
  <p>Thanks.</p>