Condition to set a field to "required"