Support Article
Property-Set Messages do not work for read-only controls
SA-88382
Summary
Validation messages do not display in read-only mode fields.
Error Messages
Not Applicable
Steps to Reproduce
- Drag and drop a formatted text control and add any property to it.
- In any activity, perform the property-set-messages in the property added in Step 1. The error displays at the top of the harness instead wrapping around the control.
Root Cause
An issue in the custom application code or rules.
Resolution
Perform the following local-change:
- Add an error section to the harness to display the error message.
- Create a non-auto generated section and include it in the harness if the error does not display despite performing Step 1.
- Enter the below code in that section:
<script>
pega.u.d.KeepPageMessages="true";
</script>
Published October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.