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
Maksym MarshaliukMaksym Marshaliuk 

How to make fields auto-calculated and make it read-only

User-added imageTotalWins__c & TotalActivePlayers__c fields should be auto-calculated.

How can i implement this?
User-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Just make the fields readonly on the pagelayout so users cannot edit them from the UI but it will calculate automatically  based on your logic.

If you want the automachine to autocalculate can you explain how to calculate it so I can suggest the solution

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,