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
hramanihramani 

field help

I have a field which I need to edit only when i click on Edit button of the record.

In case of inline editing , I want it to be read only (I should have that read only lock symbol at the end of the field)

Is it possible in salesforce?

hitesh90hitesh90

Hi,

To disable Inline Editing of field follow the below steps.

step 1. Go to setup --> Customize --> User Interface
step 2. uncheck the checkbox "Enable Inline Editing"
step 3. click on "Save" button.

 

Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.

Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/

hramanihramani

When i double click on that field ,it shouldn't go to Edit mode even (Like read only field). But i don want to make it read only from page layout. it should happen only when i try to edit it through inline mode