Validator: only 0-9 value is valid