Support Article
Inconsistent behavior of radio buttons in grid
SA-23658
Summary
When the answer for the first question is Yes and the answer for second or fourth question is No, the answer of the first question automatically changes to No. When the radio button beside the options Yes or No is clicked, it behaves correctly. This issue occurs only when the questions with same set of answers are chosen.
Error Messages
Not Applicable
Steps to Reproduce
1. In Pega survey framework, configure four questions with radio buttons question mode.
2. Select the answer for the first question as Yes.
3. Select an answer for the second or fourth question as No. Observe the answer of the first question changing to No.
4. Click the radio button beside the options, Yes or No.
Root Cause
When a section with radio buttons is included in a Grid Repeat layout, the radio buttons in the inner section always generate the same ID for the "for" attribute when there are multiple rows in the grid. The ID should be unique for each row in the repeating grid.
Resolution
Apply HFix-27603.
Published May 25, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.