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
MayankDkPantMayankDkPant 

Validation Rule for related list

Hi,

 

My scenario is I have Contact Related list on Account Page. Account are either Parent or Child.

 

If Account is parent only admins can create contact role and if it is child admins and other users can create contact role for it. How can I create a validation rule for this. Is there any way?

 

Thanks in advance, Any help will be appreciated.

 

 

mast0rmast0r

How could it be: "Account are either Parent or Child."?

I mean if you are at the Account standard page - this Account is allways a parent for any related object you can see (related lists).