add validation to all the number-based fields