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
Test1 23478Test1 23478 

Formula Field (Read and Edit)

How a Salesforce Formula field will have both Read and edit functionalities.How can we achieve this? Anyone Pls Suggest
Best Answer chosen by Test1 23478
SwethaSwetha (Salesforce Developers) 
HI,
Because formula fields are automatically calculated, they are read-only and cannot be edited from UI by users.

There is also an idea on salesforce IdeaExchange for the same. https://trailblazer.salesforce.com/ideaView?id=08730000000BpXoAAK
The idea's comment explains a possible approach for the user-specified scenario(which you can try if it matches your requirement). 

Please consider upvoting this idea so that Salesforce product development team can implement it in upcoming releases. 

Related: https://trailblazers.salesforce.com/answers?id=9063A000000l3WnQAI

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI,
Because formula fields are automatically calculated, they are read-only and cannot be edited from UI by users.

There is also an idea on salesforce IdeaExchange for the same. https://trailblazer.salesforce.com/ideaView?id=08730000000BpXoAAK
The idea's comment explains a possible approach for the user-specified scenario(which you can try if it matches your requirement). 

Please consider upvoting this idea so that Salesforce product development team can implement it in upcoming releases. 

Related: https://trailblazers.salesforce.com/answers?id=9063A000000l3WnQAI

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
This was selected as the best answer
Test1 23478Test1 23478
Thanks swetha