Question

4
Replies
312
Views
Kristin Moran (morak)
PEGA
Senior Solutions Consultant
Pegasystems Inc.
US
morak Member since 2017 4 posts
PEGA
Posted: February 24, 2020
Last activity: March 24, 2020
Posted: 24 Feb 2020 17:24 EST
Last activity: 24 Mar 2020 17:01 EDT
Closed

Apply JavaScript to Control Displayed in Overlay or Modal Dialog

Hello,

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?

Thanks.   

Pega Platform 8.3.1 User Experience Government Sales Consultant
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.