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

Keep error message on the screen when user tabs out

SA-79438

Summary



A validation is configured on a field. After entering a value which violate the condition, an error message displays below the field and above the section. When the focus is out of the field, the validation message does not display below the field and displays only above the section.


Error Messages



Not Applicable


Steps to Reproduce



Not Applicable


Root Cause



In the Pega Validators JavaScript file, the errorDiv.style.display = "none";(Line 1907) code was triggered and hid the DIV which contained the errors. This behavior occurred when the Field was marked as 'Required'.


Resolution



Perform the following local-change:

Apply the below CSS in UserWorkForm or skin:  

<style>
  .dynamic-icon-error-div{
   display:block !important;
  }
</style>

Published August 15, 2019 - 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