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 are cleared on submit of assignment



On change of field validation is done and work page contains the error details but while submitting the form those messages are wiped out and able to move on to the next assignment.

Error Messages

Not Applicable

Steps to Reproduce

Configure the page-set-messages or Validation on change of field.​ 

When errors are triggered, system displays the error messages to the users on change of field, but still user is able to move on to the next assignment with out correcting the messages.

Root Cause

A defect in Pegasystems’ code or rules pega.u.d.submit function.


Modify pega.u.d.submit function as below and placed the same in UserWorkForm:

pega.u.d.submit = function (strAction, objButton, strBusyText, event) {
     var x = document.getElementsByClassName("errorText error-table");
     var z=pega.util.Dom.getElementsById("PegaRULESErrorFlag",document);
if(x!=null && z!=null)
     if(x.length>0 || z.length>0)

//rest of the code of submit function remains as it is   

/* remaining code */


Published October 28, 2016 - 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