Display logic

Introduction

The display logic (also known as a visibility condition or dynamic filter ) allows you to control the conditions under which a particular question in the questionnaire is displayed to the respondent. This helps you avoid irrelevant content, reduce the time taken to complete the questionnaire, and improve both the data quality and the completion rate of your survey.

Typical use case:
A follow-up question (e.g. ‘Why were you dissatisfied with our service?’) should only be displayed to respondents who answered ‘Dissatisfied’ or ‘Very dissatisfied’ to a previous satisfaction question.

Display logic: Page breaks vs. dynamic showing and hiding on the same page (Same-Page-Logic)

If the display logic depends on answers to other questions, a page break is usually required between the controlling question (source question) and the controlled question. This ensures that the answer is processed correctly when the page changes and that the following page is loaded with the appropriate adjustments.

Dynamic display and hiding on the same page: However, certain question types and conditions also support evaluation directly on the same page (same-page logic). In this case, the dependent question is dynamically shown or hidden in real time as soon as the participant makes a selection or enters data – without any page change at all.

Question types supported for same-page-logic:

  • Multiple-choice: Showing or hiding follow-up questions directly when checkboxes or radio buttons are ticked or unticked.
  • Input field: Reaction to text or numerical entries (e.g. displaying an additional field once a specific numerical value is reached).
  • Matrix / Table: Reaction to selected checkboxes, radio buttons or input fields.
  • Slider / Star rating: Reaction to the set value or the number of stars awarded.
  • Form: Reaction to text or numerical entries in form fields.
  • Group matrix (side-by-side): Reacts to selected checkboxes, radio buttons or input fields.
  • Constant sum: Reaction to the entry of individual values or the total sum.

The following conditions, operators and functions are not supported on the same page and therefore require a page change:

  • Display status: ‘Is displayed’ / ‘Is not displayed’
  • Response status: ‘Has been answered’ / ‘Has not been answered’
  • Dynamic content: piped text (dynamic text substitutions)
  • Calculations: Formulas or the number of answered questions are not dynamically recalculated within a single page (but can be used as a static initial value)
  • Advanced features: Transfer of answer options and randomisation of questions
  • Regular expressions
  • Matrix / Table: Logic based on the number of rows/columns answered or on coding.
  • Group matrix (side-by-side): Logic based on the number of rows/columns answered or on coding.

Do you find this article helpful?