Dynamic Survey Validator

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 errors;
Survey Settings
  • No default branch set if there is no branch picker 
  • Invalid Branch Number for client
  • Duplicate question ids
  • Branch picker with no branches
  • Missing questions from legacy questionnaire
  • Valid Diner ID (this will automatically fix this as the diner ID is now a hidden field) 
  • Valid Client ID (this will also automatically fix because client ID is a hidden field)
  • Valid Questionnaire ID
Question
  • Star ratings only have numbers
  • No dish questions set if there is a dish picker
  • No dish type ID is set on a menu widget 
  • Choices in a question are under 50 characters
  • Invalid question id from another questionnaire
  • Has no legacy question id set
  • Duplicate questions
  • Correct 'Save Question As comment' on comment questions
  • Choices missing from legacy question
  • Choices value different from legacy question
  • Choices text invalid from legacy question
  • Extra choices that are not in legacy
  • Duplicate questions in multichoice questions
  • Correct display type for question in legacy
  • Correct question type setup in legacy
  • Any dish question that is not related to a dish picker

Examples of highlighted Errors!
Example 1- 
Example 2- 

Example 3- 

These 3 examples show a breaking change, example 1 is an incorrect branch number, example 2 is an incompatible legacy display type (which that question type) and example 3 shows legacy question from a different questionnaire. 

Example 4

Example 4 shows that the DS version of the questionnaire has different score options than the legacy version of the questionnaire. 

Example 5-

A screenshot of a survey

AI-generated content may be incorrect.

Example 5 shows missing questionIDs, this error can also show when 2 on questions on DS share the same legacy question.

    • Related Articles

    • 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 ...
    • 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 ...
    • 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: ...
    • 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 ...