0

I need to create a validation rule on two picklist fields n same custom objects so that only two users A and B with same profile can change values on that field,rest other users cannot change values.

Kindly help!!

1 Answer 1

1

$User.Name or $Profile.Name should do the trick

4
  • Can you provide me the exact syntax.If I have two fields named Owner Proposal and Owner Close and only two users Alen and Jade can change the values of the lookup fields.Please help!! Aug 12, 2015 at 16:45
  • AND ( ISCHANGED(X), $Profile.Name <> "X", $User.Name <> "X", $User.Name <> "X", $User.Id <> "X" ) replace X's with the values you need
    – Dan
    Aug 12, 2015 at 17:09
  • I am using the syntax AND ( ISCHANGED( Owner_Proposal__c ), $User.Username ='[email protected]'<> "Owner_Proposal__c ", $User.Username='[email protected]' <> "Owner_Proposal__c " ) but I am getting the syntax error further I would like to inform you that owner proposal is a look up field. Aug 13, 2015 at 7:44
  • AND ( ISCHANGED( Owner_Proposal__c ), $User.Username <>'[email protected]', $User.Username<>'[email protected]') try that
    – Dan
    Aug 13, 2015 at 16:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .