<input type="text" name="country_code" pattern="[0-9]+" title="please enter number only" required="required">