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

Pop up blocking while loading modal window

SA-23935

Summary



Browser throws "please correct mandatory fields" pop-up while loading modal window, when there are any validation messages on the page. Instead of modal window this pop-up is thrown from browser.


Error Messages



No error message.


Steps to Reproduce



1. Include a section and place a text property and append validation on the property.
2. Enter invalid data into the text field.
3. Include a button to clear the entered data.
4. On click of this button, launch a modal window.
5. Run the scenario when a validation error on the screen.


Root Cause



A software use or operation error : It is expected behavior as per Pega Product design.

Resolution



Here’s the explanation for the reported behavior:

The alternate approach is to use property-set-messages in an activity and call the activity on change event of the editable field using Run Activity action.

Hence, on click of button, one should call an activity which contains Page-Clear-Messages as a first action (Before Launch Local action call).

Using this way, one can clear messages using 
Page-Clear-Messages method.​

Published June 9, 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