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

Validation error messages are shown twice

SA-40233

Summary



Form Validation error messages are shown two parts (Top and bottom) in the Case Manager Portal.


Error Messages



Not Applicable


Steps to Reproduce

  1. Set up some form based validation errors.
  2. Try to show the validation error message on the Case Manager portal.


Root Cause



A defect in Pegasystems’ code or rules:

Although select 'top of harness' to harness display option, still the harness top has an error table field as a blank box.

Resolution



Perform the following local-changes:

1. Modify (save as) harness (perform harness) as selection of "top of harness" for error text by Display Option Tab.
2.Apply the following code in UserWorkForm:
<script>
$(document).ready(function(){
pega.u.d.attachOnload(function(){
// custom code
$("#FormErrorMarker_Div #ERRORTABLE").is(":visible") ? $("#HARNESS_CONTENT #ERRORTABLE").remove() : "";
}, true);
});
</script>



Suggest Edit

Published September 20, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

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

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