add custom field is set if statement