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

The view jumps to the top if an error message has been shown

SA-24012

Summary



When not selecting anything from the drop-down, the view goes to the top where the error message is seen.

Error Messages



Not Applicable.


Steps to Reproduce



1. Add drop-down control in a section rule and on action submit keep validation for that field.
2. Run the case and provide invalid inputs.
3. Submit the case.
4. Observe that the error messages are shown at top and page scrolls up.



Root Cause



A software use or operation error:-

With the current design, error messages are coming at top of the page, that is form level error messages, when user submits the form without filling the mandatory fields (validation done as part of server side validation).

This is expected behavior.


Resolution



Here’s the explanation for the reported behavior: 

With the current design, error messages are coming at top of the page, that is form level error messages; when user submits the form without filling the mandatory fields.
At a time all error messages are displayed at top of the page and setting cursor on the first error element. For example when page has N no of elements and error element is present at bottom of the page and page has a scroll to see that element, this is not feasible option.

Alternatively field level error message can be used for example, check required option in property configuration.

At harness level this option is available to see full error message or icon with tooltip.

 
Suggest Edit

Published June 9, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

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