Logic

You can configure logic under logic tab within left panel.

Logic is a function that can be configured by the user for certain action to be taken when certain conditions are met in responses through conditional, consequence, and timing. Normal operation is not guranteed for reversal or circulation logic such as moving to previous page or hiding previous questions so please don't use the logic in such manner.

  • Conditional configuration: Elements that can be configured as conditionals under the logic are as the following. (IF)
    • IF certain page is submitted: This is satisfied when certain page is completed and submitted by pressing 'Next'.
    • IF certain question is certain answer: This is satisfied when certain answer is given to certain question. It can be configured for all choice type questions.
    • IF certain question is not certain answer: This is satisfied when answer to certain question is not a certain choice. This can be configured for all choice type questions.
    • IF certain question is scored as comparative operator + score: This is satisfied when score obtained by certain question is within designated range (Only applicable for multiple choice, scale, and star rating questions with scores when there is a response).
    • IF certain question is answered: This is satisfied when a certain question is answered.
    • IF certain question is not answered: This is satisfied when a certain question is not answered. This can be used only when the question doesn't require an answer.
  • Consequence configuration: Elements that can be configured as consequences under the logic are as the following. (THEN)
    • Jump to certain page: These signals jump to a certain page.
    • End survey: This signals to end the survey and show designated 'Thank you' page no matter where your current page is.
    • Show/Hide certain question or page: This shows or hides certain question or page.
  • Timing configuration: This decides when IF, THEN logics are executed. (WHEN) is automatically recommended when using IF conditions but you can configure the timing you want after changing it to manual configuration.
    • Answered certain question: This assesses the logic if a certain question is answered or being answered.
    • Submitted certain page: This assesses the logic when 'Next' button is pressed to submit a certain page.
  • The basic operating principles are as the following.
    • If no conditions are satisfied, it moves to next page by default.
    • All conditions are independent of each other and only the logic satisfying WHEN timing is assessed.
    • It is assessed in order from bottom to top logic.
  • Some additional references are as the following.
    • You can turn on ‘Hide item’ option for each block to hide the block by default. To use show function, use the show function after hiding the block by default. There is also 'Hide page' option in the page option menu on the right side of page control bar.
    • ‘Answered certain question’ in timing setting means that logic will be assessed when certain questions are clicked to reply or has been responded.
    • When WHEN and IF conditions are satisfied simultaneously causing a crash, lower logic is executed first and the upper logic is executed later. As a result, consequence from the upper logic overwrites the consequence of lower logic. When several consequences are in a logic, only the consequences in a crash are overwritten and other consequences are executed as configured.
    • Logic to show/hide previous question or page or jumping to previous page is not officially supported so it may not operate normally. The use of such logic is not recommended.
    • Complex operations such as where one logic affects other logics are difficult to predict even for the author so please refrain from using such operation and construct simple logic.