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

Displaying 'Show next error' on bottom of the screen

SA-28779

Summary



The user is getting the error messages displayed at multiple places on the screen.

Initially when they click on 'Add Product' (button to proceed the flow action i.e. a child case is added) then it displays an error message below the field and ‘Show next error’ at the bottom of the screen. Further when they click on the button to just save the details and not add a child case then the validation error messages are displayed at multiple places which user finds inappropriate.


Error Messages



Not applicable


Steps to Reproduce


 
  1. Validate a property through 'Apply Conditions' to valid characters.
  2. On the post actions tab of the flow action where this field is used,validate the same with a Rule -Obj-Validate rule.
  3. Now instead of submitting the flow action,save the screen to find 'Show next error' message.


Root Cause



This is expected behavior and can be configured as required.



Resolution



At the Harness, modified the Display Options so that the errors are shown only at the filed and there was one more issue which is for "Layout Group" there is a separate div displayed on top of Layout group.

User didn't want this and hence added the below code in the non-auto generated section and included it in the section required.

<script>
_addLayoutErrorMessage = function(layout) {
}
</script>

 

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