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

Issue when checking checkboxes fast

SA-15341

Summary



There is an issue with posting the value of checkboxes to clipboard if user checks the checkboxes in a fast pace.
There is a big list of items displayed using a page list. Each item has a checkbox to select it. If there are significant number of items present in the list (10 or more) and when trying to select the line items faster, without giving at least a second time gap, then some of the items' selection value is not posted on to the clipboard but item is displayed as selected (checkbox is displayed as selected). Hence, pySelected (associated property for checkbox) is false for few items in the list.


Error Messages



Not Applicable


Steps to Reproduce



There is a big list of items displayed using a page list. Each item has a checkbox to select it. If there are significant number of items present in the list (10 or more) and when trying to select the line items faster, without giving at least a second time gap, then some of the items selection value is not posted on to the clipboard but item is displayed as selected (checkbox is shown as selected). Hence, pySelected (associated property for checkbox) is false for few items in the list.


Root Cause



A software use or operation error.
User was clicking two consecutive checkboxes without any delay (less than half a second) and as a result, the post value is not performed for all the checkboxes selected because the activities of the previous selected checkbox are not completed.

Resolution



Perform the following local-change:

Add the below script in a section and place it in the section containing checkboxes.

<script>
function disable()
{
$('.checkbox.chkBxCtl').attr("disabled",true);
}
function enable()
{
$('.checkbox.chkBxCtl').attr("disabled",false);
}
</script>

Now on click of checkbox:

1. To disable the checkbox selection, till all the events on "Click" action are completed, call below function by running a script.
 
function disable

2. To enable the checkboxes, call below function by running a script after all other events on "Click" action of checkbox.

function enable
 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% 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