function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kora bornkora born 

validation rule for contact - does it work with negative logic ?

Of all the comments here, only ansari's worked - which doesn't make any sense, as he used an = instead of <>
(And the sad part about the comment is the trail points - the intention is not to get most trail points BUT to understand working with SF.)

The edit validation screen clearly says "If this formula expression is TRUE, display the text defined in the Error Message area"
So logically speaking, shouldn't it be: MailingPostalCode  <>  Account.ShippingPostalCode ??
Which makes sense, as an = would make it negative logic.
Either the platform is wrong or the description is wrong.
GhanshyamChoudhariGhanshyamChoudhari
hi Kora,
if you want negative effect make sure that you using == instead of =

let me know if it helps you