Make the input of the field only accept numbers.