field and function number value validation corrected