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

Wrong error boxes for required fields in Modal Screen Flow

SA-75826

Summary



On the model dialog, Validation message displays on top of the layout group.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a section with Required field in the layout group.
  2. Configure a screenflow which refers to the section created.
  3. Launch the screenflow in the model dialog.
  4. Run the case type. On submit, the error section is displayed on top of the section.


Root Cause



Error messages are appended to the layout group Document Object Model (DOM) (content-layout-group).


Resolution



Perform the following local-change:

Add the below code in UserWorkForm,

div [node-name="sectionname"].error-table{
display:none! important;
}

To hide all layout group error table DIVs, use the below CSS,

.content-layout-group.error-table{
display:none! important;
}

Published August 19, 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?

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