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

Page Level Error messages on grid expand and collapse

SA-79143

Summary



On submitting a form without entering details for the mandatory fields, the following issues occur,
  1. On collapsing a record row, the error message displays at the top of the page.
  2. On expanding a record row, the error message displays within the grid below the expanded row.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a tree grid.
  2. Add some mandatory fields to the grid.
  3. Click the Submit button on the form without entering details for the mandatory fields. Error messages populate at the top of the screen. When the tree grid is expanded or collapsed, error message displays at the bottom, though it is not configured.


Root Cause



The configuration of 'Show error message' on the harness was set to default.


Resolution



Perform the following local-change:

Change the error message configuration to the top of the harness.

Add the following style in the UserWorkForm:

<style>
div#INNERDIV-SubSectionInformationTabsBBB.sectionBodyContainerCustomHead.tabpanelnofocus table#ERRORTABLE.error-table {
    display: none;
}
</style>

Published May 9, 2019 - 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