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
NeptuneNeptune 

How to lock editing a record from a custom object that is dependent on a field

Is there a way to lock a record, such as graying the edit button, that has been created by a custom object from user changes once a field from a picklist has been selected - ie the user changes the field "status" from "submitted" to "completed"