Validation of field