Makes sure that <input type="number"> only accepts numbers and not letters.