I've created a Validation rule to make everyone fill in the look-up field Campaign if they created an opportunity after 1st of July. It worked at first but now it doesn't (it's still active).
IF(DATEVALUE(CreatedDate)>=DATEVALUE("2014-07-01"),ISBLANK(Campaign__c ),null)
What's wrong with the rule?
Thanks for help!
2 个回答
Looks good but I would suggest this improvisation:
AND(
DATEVALUE(CreatedDate) >= DATEVALUE("2014-07-01"),
ISBLANK(Campaign__c)
)