morak Member since 2017 4 posts
Posted: 8 months ago
Last activity: 7 months ago

Apply JavaScript to Control Displayed in Overlay or Modal Dialog


I've added Javascript files to the Perform harness, and I've included the class name on an autocomplete control where I want to reference the JS to perform some client side validation.

The validation works as expected if that property is rendered in a regular section/dynamic layout.  However, the validation does not work if the section is rendered as an overlay or modal dialog - it doesn't pick up the JS referenced in the harness for these cases.  The modal dialog is being launched via a local flow action in my example.

What's the best way to configure this so that the Javascript gets applied for client-side validation when the control is displayed in an overlay or modal window?


Pega Platform 8.3.1 User Interface Government Sales Consultant
Share this page LinkedIn