+ Start a Discussion
Teach_me_howTeach_me_how 

What is the behavior of validation rule?

does the field validation rule still fire even the field is not in page layout?

 

ex.

validation rule: len(field) = 0

message: field cannot be empty

TheDoctorTheDoctor

Yep. It does.

Teach_me_howTeach_me_how

how can i bypass this. i dont want the validation rule fire when the field is not in the page layout

TheDoctorTheDoctor

Can you post your validation rule as it is now?

Teach_me_howTeach_me_how

AND(
OR
(
ISNEW() ,
ISCHANGED(MailingCountry )
),
LEN( MailingCountry ) = 0,
$Profile.Name <> "System Administrator"
)