Error message gets printed
If the case has any error message then on trying to print the case from default Print link the error message also gets printed.
Steps to Reproduce
- Create a case.
- Enter all details and left one of the mandatory field blank and try to submit.
- The error message displays on the top of the screen.
- Click on Print link to print the case. The error message gets displayed in Print as well.
A defect in Pegasystems’ code or rules, ErrorMessages exist on the page and hence, is included in the print harness as well.
If user do not wish to see the error messages, they should be hidden using the following styles.
Add the below snippet in userworkform or in any Harness/application level stylesheet.
display: none !important;