title: Number Only with Numeric Keyboard
body: <p>A client needs to have a (US) Zip Code field in a website, however this field can only accept numbers, 5 digits, and must trigger the numeric keypad in both iOS and Android.</p>
  
  <p>Additionally must work with external numberpads (on laptops)...and must be a text field.</p>
  
  <p>It seems like every approach I try (keyCode, pattern, etc) fails on one browser or device or another...any recommendations?</p>
  
  <p>Considerations:</p>
  
  <p>1) Cannot use plugins</p>
  
  <p>2) Do not need to accept xxxxx-xxxx (just first 5)</p>
  
  <p>EDIT: This is not in a WebView which could provide additional resources to triggering the numeric keypad. In addition this needs to remain a text field (cannot change to tel or number).</p>
  
  <p>Additionally the question that people believe this to be a duplicate of does not have an answer marked, so, it does not have a resolution either.</p>
  
  <p>To be specific, this needs to work across, Chrome, Firefox, IE, iOS, and Android.</p>