Datasaur
Search
⌃K

Dynamic Question Set

Dynamic question set allows you to answer questions based on other questions answers.

Create Question Set

Creating a question set can be done through the Project Creation Wizard (PCW). Below are the steps to create it.
  1. 1.
    Open team workspace.
  2. 2.
    Create new project.
  3. 3.
    Upload file(s)
  4. 4.
    In step 3, upload or create the question set from scratch.
  5. 5.
    Launch your project.

Add Question Logic

Creating question logic can be done through PCW. Below are the steps to add it.
  • After uploading/creating the question set, click manage question logic in the left bottom corner.
Manage question logic in Project Creation Wizard
  • Choose whether a question will need question logic or not.
    • ALWAYS SHOW means that the question doesn’t need any prerequisite to be shown.
    • IF means that the question has some requirement that is needed to be fulfilled before it’s shown.
Edit question logic menu
Side notes: You can choose the parameter from the previous question at the same level.

Rule Details

Comparison Rule

  • For conditional checking, we have several functions.
    • IS : check whether it has the exact match with the keyword or not.
    • IS NOT : check whether it doesn't contain the selected keyword or not.
    • IS ANSWERED : check whether the question has answered or not.
    • CONTAINS : check whether it contain the selected keyword or not.
  • The comparison process is using case-sensitive rule.

CONTAINS Behaviors

The key points of CONTAINS logic are
  1. 1.
    Single answer: Check whether the logic is a substring of the answer. For example, run is a substring of running
  2. 2.
    Multiple answers: Check whether the answer exactly matches the logic. For example, run is exactly match with run
TEXT Question Case #1
TEXT Question Case #2
DROPDOWN Question Case #1
DROPDOWN Question Case #2
Q1 is a text question with a single answer.
Q2 is a text question that have logic Q1 CONTAINS run.
Answer the Q1 with “Marathon run” or “running outside”, then the Q2 will be activated.
Q1 is a text question with multiple answers.
Q2 is a text question that have logic Q1 CONTAINS run.
  • Answer the Q1 with “run is a verb”, then the Q2 will not be activated.
  • Answer the Q1 with [“run”, “swim”], then the Q2 will be activated.
Q1 is a dropdown question with a single answer.
Q2 is a text question that have logic Q1 CONTAINS run.
Answer the Q1 with “Marathon run” or “running outside”, then the Q2 will be activated.
Q1 is a dropdown question with multiple answers.
Q2 is a text question that have logic Q1 CONTAINS run.
  • Answer the Q1 with “running outside”, then the Q2 will not be activated.
  • Answer the Q1 with [“run”, “swim”, “marathon run”] then the Q2 will be activated

Conjunction Rule

  • For the conditional clause, we have two conjunctions that can be used.
    • AND relation : all statements must be true if you want the question to appear.
    • OR relation : only one true statement can trigger the question to be shown.