Support Article
Empty checkboxes get added for complex question in Pega Survey
SA-17436
Summary
In Survey, on select or unselect of the checkboxes in one complex question is adding empty checkboxes in other question.
Error Messages
No error message.
Steps to Reproduce
1) Create survey with a question page which has multiple complex questions of mode Checkboxes.
For example, the first question has three checkboxes options, second has five checkboxes, third has three checkboxes with refresh configured.
2) Launch the survey in portal or click on preview from the survey landing page.
3) Select check boxes in one of the question. For example select four checkboxes in second question.
4) Observe that empty check boxes are getting added in other complex questions in the first question itself.
Root Cause
A defect in Pegasystems’ code or rules. In SetScoring Activity user is calling QuestionCollection FUA in which based on answerindex parameters, an attempt is made to evaluate score in FUA.
Since the parameters are not reset all other questions other than changed question, are also passed the same parameters.
Resetting the params(AnswerIndex) in SetScoring Activity will resolve the issue.
Resolution
HFix-25191 resolves the reported behavior.
Published January 31, 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.