Setting Conditions with required fields