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
Erica DeanErica Dean 

Read Only Fields Disappear after Partial Submit

When creating a new project (Custom Object = Project), there are three text fields (Accounting Question 1, Accounting Question 2, Accounting Question 3) displayed.

These fields are setup as read only text fields on the Project Object:

User-added image

If a user hits enter but is unable to submit the record because of a validation rule or field requirement, those fields disappear.

User-added image

Thoughts on why this is happening?  Ideas on how to fix this?  A custom VF page with field set controls is used for this page.
Sonam_SFDCSonam_SFDC
Can you please share the VF code for this page in the screenshot so as to understand the issue better.
Erica DeanErica Dean
Unfortunately, the code for this page is part of a managed package, and I'm uncomfortable sharing it in a public forum. Can you tell me what I might be looking for to fix the issue? I can tell you that the top section is field set controlled. Any suggestions you may have would be much appreciated. Thanks! *Erica Dean* Product Specialist Cloud Coach [mobile] 843.209.0983 www.CloudCoach.com Everything you love about Salesforce now for Project Management
Erica DeanErica Dean
Sonam_SFDC - Are you able to provide any further insight here?