Use ‘related question’ as well as same ‘legacy question’ to group questions

Use ‘related question’ as well as same ‘legacy question’ to group questions

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.



    • Related Articles

    • Dynamic Survey Validator

      The validator triggers after every save. The severity of the error will be a different colour; red means this could be a breaking change, yellow means this could cause data loss, and blue is just for information. It will highlight the following ...
    • Dynamic survey admin tool - how to enable pre- population of assessor survey question

      James C would recommend using the 'Survey Logic' tab where you can set some logic to say when question value is 'x' then set value to another question, see Fairwood questionnaire for May 2021, I would not recommend default value as that can't be ...
    • Best practice for setting up a guest feedback survey

      When setting up a guest feedback site for a client there are two key things to understand initially: 1) How do they plan to promote the survey? 2) What would they like to measure in the survey and why? Promotion When agreeing promotion methods with a ...
    • Survey Updates

      1. In DS Admin, locate the survey e.g. pizzaexpressfeedback. 2. Copy the questionnaire from DS Admin, creating a Legacy Version. 3. On Admin, go through each section, add, remove or update questions as needed. 4. Check analysis tags are added on ...
    • Survey Branding

      Survey Branding is unique to each client and a ticket for Dev is required to add/update any branding to surveys. Please see fields below for information required on the ticket: Client and Client ID: Survey questionnaire: Survey link: Client logo: ...