You need to sign in to do that
Don't have an account?
Carrlos Boyd
VR to prevent opening a new record without certain fields populated
I need help with a validation rule to prevent opening a new record based on the following parameters:
In other words, Field2__c must have a value (it's a user lookup) when Field1__c is a certain picklist value (there are two options in this case) in order for a record to be created.
IF picklist value of Field1__c = "XXXX" or "YYYY"
THEN
Field2__c cannot be NULL
THEN
Field2__c cannot be NULL
In other words, Field2__c must have a value (it's a user lookup) when Field1__c is a certain picklist value (there are two options in this case) in order for a record to be created.
AND(
OR(
TEXT(FIELD1__c) = 'XXXX',
TEXT(FIELD1__c) = 'YYYY'
),
Field2__c=NULL
)
Cheers.
All Answers
AND(
OR(
FIELD1__c='XXXX',
FIELD1__c='YYYY'
),
Field2__c=NULL
)
Let me know if this helps.
Thanks
AND(
OR(
TEXT(FIELD1__c) = 'XXXX',
TEXT(FIELD1__c) = 'YYYY'
),
Field2__c=NULL
)
Cheers.
Thanks!!