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 message displays despite checking check box & saving form

SA-62208

Summary



The user has configured error message to display when a check box is not selected and Submit is clicked. However, even when the check box is selected and the form is saved, the error message displays.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Create a case and navigate to the specific UI which has the error message configuration
  2. Unselect and then select the check box and save the case
  3. Click Submit. Error message still displays on top level page


Root Cause



In the UserWorkForm, the pega.u.d.KeepPageMessages flag is set as true. Hence the error message does not clear.


Resolution

Perform the following local-change:

Add the below script in the UserWorkForm and use this function to pass the value as false on click of the Save button:


<script>
function resetkeepmessage(pagemessage){
pega.u.d.KeepPageMessages = pagemessage
}
</script>

 

 

Published August 24, 2018 - 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