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
sathya_sam3sathya_sam3 

Making "Lead Status" Non-Editable

HI 

 

Am new to the Validation Rules. Am trying to Make the Lead Status Non Editable using a Validation Rule "ISCHANGED( Status )".. its working fine.. But the problem is, when i try to convert the lead to Opp the status will change to "Warm/Samples Sent" and there throws the Error. I could't able to convert the lead to Opp.

 

ThankU

imutsavimutsav
whats the use case ? why don't you use page layout to stop the users to change the Lead Status ?

Thanks
Utsav
RockDeveloperRockDeveloper

You can use the combination of PRIORVALUE, ISCHANGED and ISBLANK in your validation rule. AND( ISCHANGED(Field__c), NOT ISBLANK(PRIORVALUE(Field__c)) )