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

Field level error message control is indented and wrapped

SA-85365

Summary



The field level error message under dropdown control is indented and wrapped. The user requirement is to remove the space before the error message so that it is inline with the dropdown control or utilize the space under the label and display the message beginning from the label.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Create a UI section
  2. Add a property
  3. Add a validation for the property under the Validate rule
  4. View the section in the end user portal
  5. Submit the screen ensuring to fail the validation

Root Cause



This is as per Pega Product design. Error message is displayed below the field as dynamic layout is used and the error will be intended and starts only below the text box or dropdown rather than from the label.


Resolution



Perform the below local-change:

Private edit the UserWorkForm and add and save the below Cascading Style Sheets (CSS):


<style>
  .dynamic-icon-error-div>.dynamic-icon-error, .gridDefault .dynamic-icon-error-div>.dynamic-icon-error {
    position: absolute;
    padding-left: 0px;
}
</style>

 

Published August 15, 2019 - 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