prevent non-numeric values in number fields