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
Aswin B SAswin B S 

I created a custom edit page. I am able to create cases but whenever I try to edit it, it's throwing an error for a formula field eventhough it's hidden.


"Field Field_Name__c is not editable"
Best Answer chosen by Aswin B S
Santosh Kumar 348Santosh Kumar 348
Hi Aswin,

There must be some reference of formula field either in your custom edit page or in trigger logic, where the code is trying to initialise some value and being a formula field you can not overwrite any value to it.

If you can post your code or replica of same then we will be able to help you.

Regards,
Santosh

All Answers

GulshanRajGulshanRaj
Can you please share the code?
Santosh Kumar 348Santosh Kumar 348
Hi Aswin,

There must be some reference of formula field either in your custom edit page or in trigger logic, where the code is trying to initialise some value and being a formula field you can not overwrite any value to it.

If you can post your code or replica of same then we will be able to help you.

Regards,
Santosh
This was selected as the best answer
Aswin B SAswin B S
Thanks Santhosh, that was really helpful. The issue was the record was not getting created but it was showing in detail page somehow. That's why it was throwing error. And sorry Gulshan, I can't share the code.