Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Layout expands due to obj-validate error on a read-only field



You display a read-only and an input version of a property on a screen via two expandable layouts with two different sections. When the screen is loaded the layout with the read-only copy of the property is collapsed and the editable one is expanded. In Pega 7.1.7, when updating the input field with a value that fails an obj-validate after submitting, the screen is redisplayed. The read-only section is expanded automatically and an error marker is getting displayed for both the read-only field and the input field. PRPC 6.1 SP2 the read-only section stays collapsed.

Error Messages

This is not a valid entry.

Steps to Reproduce

  1. Create a section with two collapsible layouts with two sections.
  2. Configure one layout to show the section as read-only and keep the section in collapsed mode while loading the page.
  3. Configure the second layout as editable.
  4. Refer to the same property in both the section.
  5. Create a validate rule to validate the property.
  6. At runtime enter an invalid value for the property in the editable section and submit.

Root Cause

The root cause of this problem is: In Pega 7 even read-only controls show error messages which causes all the containers they are included in to expand.


This issue is scheduled to be resolved in Pega 7.1.8. The fix when made will still show the error messages for read-only section but will not expand the container.

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us