HTML5 -Muster nur für Zahlen
<input type="text" name="country_code" pattern="[0-9]+" title="please enter number only" required="required">
Grumpy Gecko
<input type="text" name="country_code" pattern="[0-9]+" title="please enter number only" required="required">
<input type="number" step="1" />