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

PUIC: Modal window is not displayed on clicking Submit

SA-9028

Summary



Modal window is not displayed. On click of Submit button, you call a java script which references a process action method. Instead of calling the process action, a flow action is submiited.

Error Messages



Not Applicable

Steps to Reproduce



1. Click on the Submit button through which you call a java script which in turn references a process action method.
2. Observe that instead of calling process action, flow action is submiited. 
3. Modal window is not displayed.


Root Cause



You have configured a custom control which would eventually launch a modal window. It is working fine in the PRPC 6.x version but not in Pega 7.1.7.

Resolution



This issue is resolved through the following Local-change:

You are using a click function on the dom element with an event to call the modal dialog where the button type is SUBMIT. Change this to button and it works fine.

Published June 12, 2015 - 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