how to restrict the form field not to accept numbers code example Example: html input box integer only <input type="number" name="someid" />