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,
- On collapsing a record row, the error message displays at the top of the page.
- On expanding a record row, the error message displays within the grid below the expanded row.
Error Messages
Not Applicable
Steps to Reproduce
- Create a tree grid.
- Add some mandatory fields to the grid.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.