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 + 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 a certain question is equal to + text: This is satisfied when answer to certain open end question exactly matches to the text. This can be configured for all open end type questions.
- IF a certain question is not equal to + text: This is satisfied when answer to certain open end question not exactly matches to the text. This can be configured for all open end type questions.
- IF a certain question contains + text: This is satisfied when answer to certain open end question contains the text. This can be configured for all open end type questions.
- IF a certain question does not contain + text: This is satisfied when answer to certain open end question does not contain the text. This can be configured for all open end type questions.
- IF a certain question begins with + text: This is satisfied when answer to certain open end question begins with the text. This can be configured for all open end type questions.
- IF a certain question ends with + text: This is satisfied when answer to certain open end question ends with the text. This can be configured for all open end type questions.
- IF a certain question is answered: This is satisfied when a certain question is answered.
- IF a 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.
- IF a certain defined variable is + comparative operator + number: This is satisfied when the value of the defined variable is within designated rage of the number.
- 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.
- Always in real time: The When setting in Show / Hide logic is always fixed to Always in real time. Show / Hide logics are always applied whenever there is any change in answeres of questions related to the logic.
- Submits 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.
- 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.