0

Tried creating a validation rule as below,but i still can edit the suffix, salutation on page layout. how to restrict salutation,Suffix, do they have any api names for this or should i consider trigger for this?

AND( OR( ISCHANGED(FirstName), ISCHANGED(LastName) ), $Profile.Name = 'User' )

3
  • Do you just want to check salutation or first,lastname as well?
    – Mahmood
    Apr 11, 2020 at 8:54
  • The SOAP API reference is a good place to find objects' field information. Apr 12, 2020 at 23:59
  • Thanks guys it worked Apr 14, 2020 at 23:32

1 Answer 1

0

you can use the 'Salutation' picklist like->

AND( OR( ISCHANGED(FirstName), ISCHANGED(LastName),ISCHANGED(Salutation) ), $Profile.Name = 'User' )

You must log in to answer this question.

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