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
Rishabh Patel 1Rishabh Patel 1 

Make field Required field on lead edit

I have a field called Branch__c which is a picklist . I want to make that field required ONLY when I edit the lead, Not when I creat a  new lead. So basically first time when lead is created make is not rewuired, next time lead is edited and saved, makeit required! 

Any suggestions ?

Raj VakatiRaj Vakati
You can achieve it by using validation rules.Here the validation rule 
AND(
NOT(ISNEW()),
ISBLANK(TEXT(Branch__c ))
)