Make your own input type number that accepts numbers only. code example Example: html input box integer only <input type="number" name="someid" />