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
Naresh Kumar 7Naresh Kumar 7 

How we can make a text field read only (none editable) in salesforce

How we can make a text field read only (none editable) in salesforce
In standard layout.
SarfarajSarfaraj
You have two options.
1. Use field level security. Setup / Security Controls / Field Accessibility
2. Use page layout. Go to corresponding pagelayout and mark the field as readonly.

Check this out,
https://help.salesforce.com/HTViewHelpDoc?id=customize_layoutoverview.htm&language=en_US