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
Kajal Singh 36Kajal Singh 36 

Validation rule to create when the picklist value of lead status is site visit done then the value should be hot we cannot change the value of rating field

We can change the value from very hot to hot, Very hot to warm but cannot change the value hot to warm in rating field for lead status picklist site vist done... 

Thanks!!!! 
AnudeepAnudeep (Salesforce Developers) 
Can you please post your validation rule here? Thanks
Kajal Singh 36Kajal Singh 36
I Wrote this for lead status should not be warm when site visit done... But now i have to add that we cannot change the value of rating from hot when the site visit is done. the rating should be hot. its became very hot to hot, warm to hot but not warm and should be hot

AND(
ISPICKVAL( Lead_Status__c,'Site Visit Done') &&
ISPICKVAL( Rating__c,'Warm'))
Lemon GreshamLemon Gresham
Please upload validation rule Omegle (https://www.omegle.run/)