Question
Infosys
US
Last activity: 6 Nov 2017 8:16 EST
PegaSurvey does not clear answers on following question pages
Issue Description:
PegaSurvey does not clear answers on following question pages if the question pages are no longer displayed
In PegaSurvey, the general behavior is like following: If user changes the answer to a previous question, as a result of which, some following questions are hidden, then the answers to those hidden questions are cleared.
This works fine if the all questions are on the same single question page. But if the questions are on separate question pages, then the answers to those questions that are on separate question pages are not cleared. (I think this is because PegaSurvey evaluates the when rule specified for the question page; if it evaluates to false, i.e. the question page no longer needs to be displayed, then it will simply skip and not clear the answers on that question page)
Step to Reproduce:
create a survey with 5 question pages.
Question Page 1, Question Page 2, Question Page 3, Question Page 4, Question Page 5 (specify when rule for Question Page 2,3,4,5)
Answer questions on Question Page 1,2,3,4,5 but before ending the survey, go back to change the answer on Question Page 1. As a result, question page 2, 3, 4, 5 are no longer displayed, and the survey ends (without going through question page 2,3,4,5).
Check the clipboard, the answers to questions on question page 2,3,4,5 remains on clipboard, even though these answers no longer apply, therefore, no longer valid
***Moderator Edit: Vidyaranjan | Updated SR details***
Issue Description:
PegaSurvey does not clear answers on following question pages if the question pages are no longer displayed
In PegaSurvey, the general behavior is like following: If user changes the answer to a previous question, as a result of which, some following questions are hidden, then the answers to those hidden questions are cleared.
This works fine if the all questions are on the same single question page. But if the questions are on separate question pages, then the answers to those questions that are on separate question pages are not cleared. (I think this is because PegaSurvey evaluates the when rule specified for the question page; if it evaluates to false, i.e. the question page no longer needs to be displayed, then it will simply skip and not clear the answers on that question page)
Step to Reproduce:
create a survey with 5 question pages.
Question Page 1, Question Page 2, Question Page 3, Question Page 4, Question Page 5 (specify when rule for Question Page 2,3,4,5)
Answer questions on Question Page 1,2,3,4,5 but before ending the survey, go back to change the answer on Question Page 1. As a result, question page 2, 3, 4, 5 are no longer displayed, and the survey ends (without going through question page 2,3,4,5).
Check the clipboard, the answers to questions on question page 2,3,4,5 remains on clipboard, even though these answers no longer apply, therefore, no longer valid
***Moderator Edit: Vidyaranjan | Updated SR details***
***06/11/2017: Updated by moderator: Lochan to update as SR Parallel***