(IF) conditions allow us to set certain questions for selected respondents only. The 1KA application allows you set a number of conditions for a question or multiple questions, which can be then combined into sets of questions.
1. General conditions
Basic conditions can be set for one or more questions where the condition determines an answer to one of the previous questions or the combination of more answers. We can also set the conditions in a way that they are determined by a random divisions into groups or a computation.
Conditions can be set when editing the questionnaire in the 'EDIT' - 'Questionnaire' tab:
- Click on the blue IF icon in the menu on the menu in the left side of the screen;
- Drag the icon before the first question, for which you wish to set a condition (i.e. the question on the basis of which you will differentiate the respondents);
- From the dropdown menu, select the variable which will serve as the basis for selection;
- In the next dropdown menu, you can also change the method of calculating the condition: is equal to (=), not equal (<>), greater (>), greater than or equal (=>) is less (<), and less than or equal to (<=);
- On the right select 'Categories' or enter (if it is an open-ended question) the value for which you would like the questions in the condition to be displayed;
- Finally, move the 'ENDIF' label after the last question for which you would like the condition to apply, i.e. the last question that will be displayed to the selected respondents.
Example: if you wish the respondents that selected the answer 'No' for the first question (Q1) to be redirected to the end of the survey:
- The start of the condition ('IF') should be set after the first question;
- The end of the condition ('ENDIF') should be set after the last question or before the conclusion of the survey;
- Set Q1 as the basis for selection, the value of the condition is in this case set to 'Yes'. Calculation operator should be set to default, i.e. the value equals to (=).
Example of a survey with standard condition >>
2. Follow-up conditions for the display of another question
- Follow-up condition for the question with categories will intuitively and automatically create a condition for the next question;
- By clicking on the IF-> icon you can set any category as a condition to display the next/other question.
Example: We want to display question Q2 only, if the respondent chooses the answer 'Yes' for the first question Q1:
- Start by editing the questions Q1 and at the first answer ('YES'), click on the IF-> icon;
- Right after the question Q1 a new question will appear. This question will be shown to the respondents, if they answer with 'Yes' on the question Q1.
Example of a survey with follow-up condition >>
3. Internal conditions – conditions in sub-questions and possible answers
- Conditions are not necessarily set for the whole question – you can also set the condition to show only individual sub-questions (table) or possible answers (categories). 1KA allows you to set two kinds of internal conditions, so on the right side of categories you can see two icons for adding conditions (IF);
- By clicking on the IF* icon you can set a condition for this category, i.e. specify when this category is displayed. When you close the editor of this question, answers or categories for which you have set a condition will be marked with a star on the right side.
Example: for the second question (Q2), where the respondents evaluate various statements on a scale of 1 to 5, you would like to display the first statement to only those respondents that answered 'Yes' to the first question:
- Start by editing question Q2 and clicking on the IF* icon that is found on the right of each individual response option;
- In the pop-up window, click 'Set conditions for category display' and set Q1 as a basis for selection;
- For the value of the condition select chosen category. Calculation operator should be set to default, i.e. the value equals to (=).
Example of a survey with internal conditions >>
4. Conditions based on several criteria
For specific general and internal conditions, you can define more than 1 criterion:
- First of all, form the first criteria when editing a condition, by determining the variable and the value as the basis for selection, as described in bullets 1 and 2;
- At the bottom of the editor, additional option 'Add next condition' with the operators AND and OR will appear:
- The condition is met if any of the criteria apply (thus it is sufficient if only one criteria is met): select 'OR';
- The condition is met only if all the criteria apply: select 'AND';
- To the left ('brackets') and the right ('brackets') of the individual variable you will find icons shaped like the '+' and '–' signs, with which you can edit brackets and ensure the correct order of arithmetic operations with complex sets of criteria for conditions.
Example: the third question (Q3) should be displayed only to those that selected the 'Yes' option with the first (Q1) or second (Q2) question:
- The start of the condition ('IF') should be set after Q2;
- The end of the condition ('ENDIF') should be set after Q3;
- Set Q1 as the basis for selection, the value of the condition is in this case set to 'Yes'. Calculation operator should be set to default, i.e. the value equals to (=);
- At the bottom of the editor, 'OR' should be selected under 'Add next condition';
- Define the second criterion by selecting Q2 as the basis for selection, the value of the condition is in this case set to 'Yes'. Calculation operator should be set to default, i.e. the value equals to (=).
Example of a survey with conditions based on several criteria >>