Yet again this has simple validation has me baffled
Aim – If mailing country = Canada, then Canada_Email_Consent__c needs to be captured, if mailing country not equal to Canada then Canada_Email_Consent__c is not applicable
Field Label : Canada Email Consent
Data type : Picklist
Values : Yes/No
Okay First of all I have created the following validation;
Validation rule : Mailing Country
Error Formula:
ISBLANK(MailingCountry)
Second validation i have is
Rule name : Testing_Canada_Email_Consent
Error Formula:
AND(
Upper(MailingCountry) = 'CANADA',
ISBLANK(TEXT(Canada_Email_Consent__c))
)
Currently with the rules set up in place, if you type any other country Canada_Email_Consent__c is populated to yes. if mailing country = canada then Canada_Email_Consent__c is required
looking forward to your help