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
Deepika Gupta 26Deepika Gupta 26 

Restrict user to edit field via code

Hi All,
I want that in my if statement like if(Field1==true) //this is a checkbox field

     Restrict user to fill the Field2 & Field3 //this two fields are picklist field
}

All this three fields are on same object that is "Acccount:" let me know how is it possible to achieve in apex code.