You need to sign in to do that
Don't have an account?

Validation rule
I am trying to write a validation rule that evaluates if a number field is greater than 0 that a date value must be entered in a date field.
Not sure what I am doing. Any help would be great. Thanks.
Matt,
I think you might want something like this
AND (NOT(number_field < 1),ISNULL(date_field))
All Answers
Matt,
I think you might want something like this
AND (NOT(number_field < 1),ISNULL(date_field))
So basically "If Date 1 is not blank, then Date 2 can't be blank either"?
If that's what you're looking for, then you want something like this
AND(NOT(ISNULL(Start_Date__c)), ISNULL( End_Date__c ))
Thanks...there's already data in the field that needs to be updated, so I need to make sure the opportunity doesn't save until that field is actually changed only when the first field is populated...
i.e. Acceptance Date has been entered, now the Close Date needs to be changed (this is the field that already had a date in it that needs to reflect the new 'Acceptance Date').
Okay, does the Close Date have to be updated to have the same date value in it as Acceptance Date?
If you just want them to have to update it then you can try something like this
AND( ISCHANGED(Start_Date__c), PRIORVALUE(End_Date__c ) = End_Date__c )
If you need the Close Date to have the same value as the Acceptance Date then you might want something like this.
AND( ISCHANGED(Start_Date__c), Start_Date__c <> End_Date__c )