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
ChrisMcLChrisMcL 

Readonly field still allows changes in Edit mode

I have made a field Readonly both on the page layout and in field-level security selected Read-Only for all users. However, the field is still visible when in edit mode, allows users to enter data in it, and gets saved to the database. What else do I need to do to ensure that this field is view only?
 
James Wikkerink
Municipal Software
SuperfellSuperfell
There a profile perm called edit readonly fields that admins have, so if you're testing with an admin account, you'll still be able to do this.
ChrisMcLChrisMcL
Thanks for your quick reply. This can't be turned off?
 
James Wikkerink
Municipal Software
SuperfellSuperfell
You can clone the admin profile and turn it off.