When designing surveys you can make use of logic function to perform different tasks such as hide or show questions, enable or disable questions, set a question value, etc. The logic in the survey can be set either using the logic settings of a question in the questions properties menu or by using the logic editor. Note that using the questions logic properties settings is limited to the selected question, using the logic editor you can perform all the logic functions available.
Setting logic function in a question
Within a question you can set if the question is visible/invisible, enabled/disabled, you can conditionally reset the value of the question, etc. To do define the logic for a question go to the question properties and select conditions as shown in figure 1 below.
|
Figure 1, Conditions menu in the properties column
|
Conditions menu item in questions properties
|
Setting logic function in a question
When opening the Conditions you will see the different conditions you can set, see figure 2 below. The conditions can be set manually or using the logic tool which will popup when you click on the magic wand icon.
|
Figure 2, Conditions in the properties column
|
Conditions in the properties menu where you can create the logic functions for the selected question
|
Setting logic function using the logic tool
When you click on the magic wand the logic tool will open in a popup window. This tool will guide you in creating you logic functions, the tool is shown in figure 3 below.
|
Figure 3, Logic tool popup
|
Using the logic tool to create the logic functions for the selected question
|
Setting logic functions using the survey logic editor
You can also use the survey logic editor to set the logic of all questions, open the logic editor by selecting the logic tab on top as shown in figure 4 below.
Figure 4, Logic editor