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 19, 2016 - Updated October 27, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.