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
Nandhini S 3Nandhini S 3 

How to give edit access to a read only field

Hi,
Need help here...I have to give edit access to a field which is set as read only in page layout.
Nandhini S 3Nandhini S 3
I have to give that access only for certain permission sets.
AbhinavAbhinav (Salesforce Developers) 
Hi Nandhini,

Users are able to edit fields which are 'Read Only' as per Field Level Security or on the Page layout. This behavior is seen if the Profile associated with the User has 'Edit Read Only Fields' selected.

Check this doc , you bcan that persmission via permission sets:

https://help.salesforce.com/s/articleView?id=000335725&type=1

If it helps mark it as best answer.

Thanks!