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

Page Group check boxes behavior incorrect

SA-24468


Summary



With a list of Properties that are defined on a Page Group, when displaying these Properties using the Checkbox control, clicking on any of the Labels selects or deselects the first Checkbox that is displayed on the screen.

Error Messages



Not Applicable

Steps to Reproduce

  1. Create a Section which contains three sets of checkboxes. The user’s scenario is in Layout -3. The Checkbox Property is referencing to “.MyPageGroup(pgIndex1).pyLabel”. ‘MyPageGroup’ is a Pega Page Group. ‘pgIndex1’ is a string subscript value. 



2. Create a Flow to run.

3. In the output of the Flow, check both checkboxes for ‘3rd Checkbox using pgIndex1’ and ‘4th  Checkbox using pgIndex2’. 




4. Click on the label of ‘4th Checkbox using pgIndex2’, notice that the checkbox of ‘3rd Checkbox is unchecked.


\




Root Cause



In this issue, same ID "pyLabel" is generated for the two checkboxes. Both the labels (bound to check boxes) have label for attribute value as "pyLabel".

So, when user clicks on any label, the check box with id pyLabel will be checked. Since there are two such checkboxes, the first one is getting checked.

Resolution



Apply HFix-27988.

Add code in the R-U-F, pzGenerateCheckbox to generate IDs for input tag and Checkbox uniquely.

Published August 19, 2016 - 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?

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