+ Start a Discussion
Firas Taamallah 18Firas Taamallah 18 

How to lock field from editing ?

Hi , 

There's path in Case record type 
I want to lock field from editing when Path is equal " Distribued" 

How can i achieve this?
Rgds,
Firas
AnudeepAnudeep (Salesforce Developers) 
Hi Firas - I recommend creating a validation rule. I found a sample here
 
AND(
   ISCHANGED(StageName),
   TEXT(StageName) = 'Closed Won',
   ISBLANK(Mandatory_Field__c)
)

Let me know if it helps