Where setting up a survey where answers, comments, dishes for one question may be stored against another question with the same legacy question (ID), then need to ‘Group’ questions by using the ‘Related Question’ option which tells the system that question a and b in a survey actually saves as one question in our legacy system. If you don’t set the ‘Related Question’ then the system tries to save the question twice with two different values and breaks, because you can’t answer a question twice.
So if you setup multiple questions with the same legacy question ID, say a yes/no question and comment without the related question property set, it will try to save that question answer twice, and you can’t answer a question twice.
The only time this will work is if only one of the questions is shown depending on a guest’s choice.
This is relevant where the question is added after the initial import as the importer will handle this correctly.
The related question tells the system that these two questions are actually the same question in our legacy system, and so groups them together into one ‘answer’ the reason being, is that in our legacy system a question can have up to three ‘Answers’ those being –
1. A selected answer, for example Yes/No/Na etc
2. Comments related to the selected answer
3. Dish selected (for dish only questions, this is why you have the related dish question property)
But in the SurveyJS tool, a question can only have one ‘Answer’ say ‘Yes’ but cannot also contain the comments or dish selected.