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
- Create a section with Required field in the layout group.
- Configure a screenflow which refers to the section created.
- Launch the screenflow in the model dialog.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.