Survey Logic Mastery: A Comprehensive Guide

Survey Logic/Branching for EMA and ESM

Three Logic Functions You Need to Know

There are several logic functions you can use to manage the flow of your ecological momentary assessment (EMA) and experience sampling method (ESM) survey flow. The three logic functions are:
Skip Logic: Participants skip to another specific question based on their response to the current question.
Jump Logic: Participants jump to a specific question.
Display Logic: The current question is displayed when participants respond in a specific way to a previous question.

Before we tackle the different logic functions, it is important to know that all the logic applied will be disabled when you decide to randomize your survey questions.
Randomize and Logic buttons

When toggling the logic button while your survey questions are in random order, you will receive this prompt, and you can click 'Ok' to proceed.
Logic pop-up

When you click the "Randomize questions" button while logic functions are applied, you will receive this prompt, and you can click 'Ok' to proceed.
Randomization of questions Pop-up


Skip Logic

The skip logic function allows you to have participants skip forward to another part of the survey when they responded to a specific option in the current question. 
As an example, you can implement skip logic in a "Multiple Choice Question" where participants select one option out of multiple options.
Skip logic sample

logo of document"Logic" does not display if there are no other questions in the survey or if the multiple choice question is the last question in the survey (as there must be something to skip forward to). You must add more questions before being allowed to enable the skip logic function.

In this example, SKIP logic will be applied to question 2. The logic is set to where, from question 2, it will skip to question 5, IF RESPONSE to question 2 is watching TV / movies. Otherwise, the questions will be in order.
Skip logic sample


You can also skip to a block of questions as well. As seen below, you can choose the specific block of questions to skip forward to by selecting "Block".
The first question in the block represents the entire block. In this example, it is question 7.
A Black box enclosing an add logic option

You can also randomize the questions with in the block.
Randomization of questions in a block
logo of information
In general, it is recommended that "Forced Response" be enabled with "Skip Logic" so that participants will need to respond to the question.

Jump Logic

You can also implement jump logic and have participants skip to a different part of the survey when they reach a question. 

As an example, when participants reach an instruction question. They can skip to another part of the survey. As shown below, the instruction question may be placed at the end of a question block to have participants skip to a different part of the survey after they have completed it.
Instruction Question Jump Logic

Display Logic

Another way to manage the flow within the survey is by using the "Display Logic" function. The display logic function displays certain questions based on participants' responses to previous questions in the survey. 

This is particularly useful when you have a set of questions that only needs to be answered if participants encountered a specific event (e.g., ate a meal) or had an interaction (e.g., interacted with a friend). Otherwise, the questions will not be displayed.

For the first illustration, you may only want to ask the time when a participate ate a meal, but only if they did eat a meal previously. To implement this, select the "Add Logic" function to the question that is optionally displayed. Then, create the "Display if" condition to display the question.

Display Logic condition


There may be occasions when you want to apply "Display Logic" to a group of questions. For example, you may ask whether participants met with a friend in the past two hours. If they answered 'yes', you then display multiple questions associated with their interaction.

In this case, you should apply "Add Logic" to Question Groups or Groups.

Display logic for groups





    • Related Articles

    • Project Screener Survey

      Create Your Project Screener When you are recruiting participants from a panel, from a community, or from an online ad, it is important to create a project screener to screen participants for the right attributes. One functionality of the "Project ...
    • Overview of Survey Scheduling for EMA and ESM

      Survey Scheduling for Your EMA and ESM Survey scheduling lies at the heart of ecological momentary assessments (EMA) and experience sampling method (ESM). You will be able to schedule all the different types of surveys you have created. The option of ...
    • Calendar Schedule for EMA and ESM

      Scheduling the EMA and ESM Surveys The calendar schedule allows you schedule your ecological momentary assessment (EMA) and experience sampling method (ESM) surveys based on calendar dates. Scheduling When you have selected the calendar schedule, you ...
    • Static Schedule for EMA and ESM

      How Does Static Schedule Work for EMA and ESM? The static schedule allows participants to take your ecological momentary assessment (EMA) and experience sampling method (ESM) surveys until an end date that you specify. You can have multiple surveys ...
    • Rolling Schedule for EMA and ESM

      How to Utilize Rolling Schedule for EMA and ESM The rolling schedule allows you to schedule your ecological momentary assessment (EMA) and experience sampling method (ESM) surveys based on when your participants start the project. We recommend using ...