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 pop up

SA-21674

Summary



Pega's Out-of-the-box functionality gives a pop up message to correct the field level errors generated from the required field in the form. 

User requires to know if there is a possibility of suppressing this pop up on submitting the form ?


Error Messages



Please correct the flagged fields before submitting the form!


Steps to Reproduce

  1. Create a section with required fields.
  2. Run the flow to reach to desired section.
  3. Submit the flow action without filling in the required fields.
  4. Observe the alert box with message is generated with the Error bar in the background.


Root Cause



Its an expected behavior. Normally screen readers are used, notification of validation errors is based on alerts, so if the accessibility ruleset is added then this behavior occurs. If removed then users may not know about validation errors.

Resolution



The pop-up is generated from the areInputsValid API of pega_ui_doc.js.

As its a final rule, it must be overridden in the UserWorkForm HTML Fragment by removing the alert , that is alert(form_submitCantProceed). 
If this local-change is applied, then the error pop-up can be successfully suppressed.

 

Suggest Edit

Published April 6, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

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.

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