Support Article
Custom messages do not display when tabbed out of the field
SA-85647
Summary
Custom messages set on the screen for a particular property, display on tabbing out of the property despite entering the correct value. A Validate rule is used to check and set the error message on the screen which validates for an embedded property.
Error Messages
Not Applicable
Steps to Reproduce
- Create a section and include a text property.
- Include Visibility and Required conditions.
- Configure a When rule for the Required condition.
- Configure a data transform and Edit Validate rule on refresh section action on onChange action
Root Cause
This issue was determined to be a product enhancement request.
This is a missed use case to handle with client side errors and the server adds the error. However, at the client end, on the Required validation is present which checks if value the is provided. Since the input has a value, the error is removed.
Resolution
An enhancement request, FDBK-61535, is created for consideration by Pega Product Management.
Perform either of the following local-changes:
- Include the below code in the UserWorkForm.:
<style>
.dynamic-icon-error-div{
display:block !important;
}
</style>
- Ensure that both the client and server validations are in sync and do not perform different validations.
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.