x

Display Logic

Home > Basic Building > Question Options > Display Logic
Basic Building

Display Logic is great if you have a question you only want certain respondents to see and answer. You control the conditions for showing the question. Most of the time you will want to base the logic off of an answer to a previous question.

Step-By-Step

Display Logic on questions
  1. Select the question that you would like to display conditionally.
  2. Click the purple gear box to the left and select Add Display Logic.
  3. Set the condition that must be met for the question to display. You can set the condition based on an answer to a previous question, or based on an embedded data field, quota or panel field.
    • Previous Question: From the first drop-down, select Question. From the second drop-down, select a specific question, and from the third drop-down, select an answer choice. From the fourth drop-down, choose selected, not selected, etc.
    • Embedded data: In the first drop-down, select Embedded Data. In the green text box, enter an embedded data field, such as Age. In the third drop-down, select equal to. Finally, enter a value, such as 27. The question will only be displayed to respondents in your panel that have Age equal to 27.
    • Quota: In the first drop-down, select Quota. From the second drop-down, select which quota, and from the third drop-down, decide if you want to display if quota “has been met” or “not met.” Please note that you must create a quota before referencing it here.
    • Panel Field: From the first drop-down, select Panel. From the second drop-down, select a panel field. From the third drop-down, select equal to, not equal to, etc. Finally, enter the panel value.
  4. Add and subtract conditions by hitting the blue + and - buttons on the right of the condition. You can use and if or or if to define multiple conditions.
  5. Click Save to apply the logic.

Q-tip

  • If you want your question to automatically display on the same page without having to first click the Next (or “>>”) button to move to the next page, click the In Page checkbox. In-Page Display Logic won’t work in every situation. Qualtrics will display a message if it won’t work for you.
Display Logic on answer choices
  1. Click on the answer choice you would like to display conditionally.
  2. Click on the blue advanced options drop-down menu.
  3. Select Add Display Logic.
  4. Set the condition for displaying the answer choice as you would with regular display logic.

More Information

Edit Display Logic
  • Display Logic on Questions: After applying Display Logic, a blue bar will appear on the question. You can still edit it by clicking the Edit Logic option in the blue bar and changing the condition.
  • Display Logic on Answer Choices: After setting up Display Logic on an answer choice, a blue arrow will appear to the left of the answer choice. To edit Display Logic, select the answer choice, select the blue drop-down menu, then select Edit Display Logic.
QTips
  • If you have a large amount of questions to which you will be applying the same Display Logic, you will want to use Branch Logic instead of Display Logic. Put all the questions you will be displaying conditionally into the same block and use Branch Logic in the Survey Flow to display those questions. For more information, review the tutorials on selecting multiple questions and using branches.
  • You can use Display Logic to hide questions in your survey when needed. To do this, put Display Logic on the question with a condition that will never be met. So if you know the first question in the survey is always going to displayed, you can put a condition into your Display Logic that will only be met if the first question is not displayed. The condition will never be met and the question will never be displayed.