Set the Updatable Field Property
You can set fields of a layout to be read-only or updatable. For example, consider a custom layout created for the Ticket object, named Closed Ticket, which only applies when the status of the ticket is closed. Here, Ticket is a custom object.
The following steps define how to set the Ticket Name, Priority, and Status fields of the custom layout as read-only and to set the Close Comments field to updatable.
Define Fields as Read-Only
To change the status of the Ticket Name, Priority, and Status fields to Read-Only:-
Navigate to the Details Page Layouts section of the Ticket object.
-
Select Closed Ticket Layout.
The Details Layout page appears. -
Click the Ticket Name field.
The Edit UI Properties page appears. -
In the Layout Properties section, select No from the drop-down list of the Updatable property.
-
Click Save and Close.
-
Repeat for Priority and Status fields.
-
Click Done on the Details Layout page.
The Ticket Name, Priority, and Status fields are now read-only for the edited layout and the Close Comments field is updatable by default.