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

Cannot run Script in checkbox event inside a Grid Repeat

SA-50680

Summary



One of the requirements is to run the activity on click of check box control.

But till Pega 7.1.9, checkbox control is only meant for Selecting purpose. However, it only works if the script is called outside of the Grid Repeat Layout.

When user calls the script inside the Grid Repeat Layout, the busy indicator never shows up. Click actions are not triggering for check boxes in repeat layout.


Error Messages



Not Applicable


Steps to Reproduce



1. Log into Designer studio.
2. Create section and configure check box under Repeating Layout.
3. Configure run activity as on click event. Observe that the activity will not be executed on click of check box control.


Root Cause



A defect in Pegasystems’ code or rules:

For radio buttons and check box controls, data-click attribute has value in the form of '...' and the action for data-click are defined in the parent element (either div or span).

Whilst performing the click event it is looping back to parent element and for parent element disabled attribute is not found so the browser is assuming that the element is not disabled.

Resolution



Apply HFix-40879.

Published April 13, 2018 - 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