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
abdelmadjid hidouciabdelmadjid hidouci 

How to make lead status readonly or hide it from page layout

Hi every one;

I want that the lead status change only when tasks are completed, i use triggers to do that, and it is OK;
What i want now, is to make the lead status read only on the page layout (it is not possible, because it is a standard field);
I have found a solution in the slackExchange using lead rule validation based on profile, this works when i try to update lead status from UI, but i have issue with triggers when updating lead status (Same profile); here the ruele validation:
AND($Profile.Name = 'ProfileName',
ISCHANGED( Status ))

There is a solution to do that (lead status updates only based on tasks triggers)?.

The Idea is to have a "Task drivven process on the lead life cycle", this way, users are forced to do some tasks and follow the some process when they working on the leads;

Thank you;)