Query logic allows you to determine the depth of data received

What is question logic?

Question logic creates a flow of questions based on what respondents have provided in response to previous questions. This allows you to create follow-up questions to collect more data and gain a greater understanding of your respondents' answers on a specific topic.

Conditional display rules

One Survey has functionality that allows you to create advanced question logic by applying display conditions.

If a question asks you for your opinion about apples and allows you to answer the question by choosing between “Yes” or “No,” “Yes” will lead you to a follow-up question while “No” will lead you further in the hierarchical question flow.

You can compare this to taking a detour on your way home from work, your destination will be the same in the end, but you will pass some other sights along the way.

Condition operators

Conditional operators help you determine when the conditional query should be displayed. There are different conditional operators depending on the type of query and the value your query will generate. All available operators are presented in the table below along with a description and which query types they are suitable for.

All conditional queries depend on a parent query, which is an important part of creating query logic. A parent query must always come before a conditional query in the order. If the conditions drop-down menu does not contain any queries, it means that the hierarchy of your queries does not allow you to create a display rule. In that case, try changing the order of the conditional or parent query.

Operator Description Applicable to
Is Empty Displays the conditional question if the answer to the parent question is blank.
Is Not Empty Displays the conditional question if the answer to the parent question is not blank.
Contains Displays the conditional question if the answer to the parent question contains a certain text string, such as "green apples".
Does not contain Displays the conditional question if the answer to the overridden question does not contain a certain text string, such as "red apples."
Selected Quantity Displays the conditional query if a specific value in the parent query is selected.
Is selected Displays the conditional query if a specific value in the parent query is selected.
Is not selected Displays the conditional query if a specific value in the parent query is not selected.
Is One Of Show the conditional query if one of several specific values ​​in the parent query is not selected.
Is Not One Of Show the conditional query if one of several specific values ​​in the parent query is not selected.
Is All Off Displays conditional queries if all specific values ​​in the overridden query have been selected.
Is None Of Displays the conditional query if none of the specific values ​​in the parent query have been selected.
Equal to Displays the conditional query if the value is equal to a certain value in the parent query.
Not Equal To Displays the conditional query if a value is not equal to a selected value in the parent query.
Greater Than Displays the conditional query if a value is greater than a selected value in the parent query.
Greater Than or Equal To Displays the conditional query if a value is greater than or equal to a selected value in the parent query.
Less Than Displays the conditional query if a value is less than a selected value in the parent query.
Less Than or Equal To Displays the conditional query if a value is less than or equal to a selected value in the parent query.