You need to sign in to do that
Don't have an account?
Edgar Macachor
What is wrong with my validation rule formula?
HI guys help!! I have to create a validation rule that the Contact Lookup should be under the same Account and now I have created a formula but I think it doesn't work right.
So here's my code:
AND( CreatedBy.Contact.AccountId = Contact__c,
Account__r.Id = Account__c,
Account__r.Id <> CreatedBy.Contact.AccountId)
Can you help me find what is wrong about my formula.
So here's my code:
AND( CreatedBy.Contact.AccountId = Contact__c,
Account__r.Id = Account__c,
Account__r.Id <> CreatedBy.Contact.AccountId)
Can you help me find what is wrong about my formula.
Just Copy Paste Below Code In Validation Rule Please Mark It As Best Answer If It Helps
Thank You!
All Answers
Try Below Validation Please Mark It As Best Answer If It Helps
Thank You!
AccountId = Account__c
CustomerAuthorizedBy.AccountId = Contact__c
AccountId <> CustomerAuthorizedBy.AccountId
But after I check syntax it an error showed: Error: Syntax error. Extra CustomerAuthorizedBy.AccountId.
Do I have to create a field named CustomerAuthorizedBy?
In Which Object You Want To Make
Contact is Contact__c
Just Copy Paste Below Code In Validation Rule Please Mark It As Best Answer If It Helps
Thank You!