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
rahul Shukla 37rahul Shukla 37 

I have one custom object in which two field is available available start date and previous enroll if previous enroll is not null then Available start date will be read only if null then it should be editable please help me to achieve this scenario

I have one custom object in which two field is available available start date and previous enroll if previous enroll is not null then Available start date will be read only if null then it should be editable please help me to achieve this scenario
AnudeepAnudeep (Salesforce Developers) 
You want to make a field read-only conditionally as far as I understand. I suggest this example