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

Error messages on a property lost on focus

SA-43403

Summary



Error messages on a property lost on focus with Pega 7.1.9.


Error Messages



Not Applicable


Steps to Reproduce



1. Include a client side validation on a input field property. The property should have a Rule-Declare-Expression (RDE) defined on it.
2. Enter a value which fails the validation and move the focus to the next field.
3. Focus on the field again. Observe as soon as we focus on the field the error message is lost.


Root Cause



When a property is involved in a RDE it will have a implicit validation "calculateexpression" added on its uielement.

But this validation is terminated for onclick events on the element.

But this termination happens only when there is atleast one target property of RDEs is present in the UI. Otherwise the validation messages are removed.

Resolution



Type: Local-change, Explanation

Local-change: To Include the target property used in RDE in the section as hidden field.

Explanation: Include the target property of the RDE in UI. Target properties of the RDEs are anyway rendered in readonly. If it is not intended to be shown it can be hidden in UI with css visibility:none.


Published December 6, 2017 - 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?

Want to help us improve this content?

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
Contact us