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

Checkbox id changes after post action

SA-32302

Summary



User has a grid with checkboxes on each row, and used .pySelected as a property for the checkbox.

The checkboxes have an action defined on them to do a Post Value on Change. On initial page-load the checkbox ID's are numbered sequentially. (pySelected1, pySelected2, pySelected3, pySelected4, and so on).

On checkbox click the value is being posted, but the ID changes to 'pySelected' for each checkbox that is clicked.

User requires the checkbox ID to stay unique after a post.


Error Messages



Not applicable

Steps to Reproduce

  1. Create a grid with checkboxes and a label (caption).
  2. Set property to .pySelected.
  3. Click the checkbox labels twice (not the actual checkbox).
  4. Observe the behavior that only first checkbox will change.

Root Cause



A defect in Pegasystems’ code or rules : Id is getting change on post action of the checkbox.

Resolution



Perform the following local-change:

Use refresh current row to have the unique Id on the checkbox.

 

Published January 18, 2017 - 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