{"id":44473,"date":"2018-08-27T08:09:36","date_gmt":"2018-08-27T08:09:36","guid":{"rendered":"https:\/\/www.sogolytics.com\/help\/?page_id=44473"},"modified":"2026-03-11T11:08:42","modified_gmt":"2026-03-11T11:08:42","slug":"how-to-set-up-question-display-logic","status":"publish","type":"page","link":"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/","title":{"rendered":"Question Display Logic"},"content":{"rendered":"<p>Question Display Logic is a type of skip logic that hides a certain question on a page unless the participant responds in a particular way to an earlier question. This feature allows you to ask questions to only those participants for whom the questions would be relevant.<\/p>\n<div style=\"position: relative\"><div class=\"loader-parent-overlay\" style=\"display: none;position: absolute;background: rgba(0, 0, 0, .35);width: 100%;height: 100%;\"><div class=\"loader-parent\" style=\"display: block;\">\n<div class=\"line\"><\/div>\n<div class=\"line\"><\/div>\n<div class=\"line\"><\/div><\/div>\n<\/div><iframe loading=\"lazy\" id=\"help-playvideo\" class=\"to-animate-elem help-vid-class embed-responsive-item\" data-src=\"https:\/\/www.youtube.com\/embed\/E4OXsdwOxlA?rel=0\" src=\"\" width=\"100%\" height=\"339\" data-animate=\"fadeMaxUp animated\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<p>The initial question is referred to as the \u2018Decision&#8217; question, and a question that depends on it is the \u2018Show-Hide&#8217; question. Show-Hide questions must be positioned later in the survey than the Decision question they follow, but they may be on the same page or separate pages.<\/p>\n<p><strong>Follow these steps to set up QDL:<\/strong><\/p>\n<ol>\n<li>Create a new project or select a project to edit.<\/li>\n<li>Add all the questions in your survey, including both the qualifying &#8216;Decision&#8217; question and the follow-up &#8216;Show-Hide&#8217; question.<\/li>\n<li>Select Question Display Logic by clicking on Logic in the Design menu bar or by hovering over your Show-Hide question and clicking on Logic. <img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2023\/02\/R30.8.1.png\"> <\/li>\n<li>A modal will appear to apply the QDL rule.<\/li>\n<li>Select the Show-Hide question from the <strong>Show<\/strong> drop-down. This is the question (or sub-question) that will be hidden from participants based upon the conditions applied.<\/li>\n<div class=\"sogo-help-info-box\">\n<i class=\"fal fa-info-circle\"><\/i><\/p>\n<p class=\"sogo-info-text\">The first question of your survey cannot be set as Show-Hide.<\/p>\n<\/div>\n<li>Next, select either of the following decision conditions based on which you want your Show-Hide question to be shown.\n<ol style=\"list-style: lower-alpha;\">\n<li><strong>Answer To Question:<\/strong>This condition allows you to show or hide a question based on a respondent\u2019s answer to a previous question within the same survey. Only questions that appear before the Show-Hide question will be available here. Please note that Descriptive Text question cannot be set as a decision question. <\/li>\n<div class=\"example-block-container blue-shade\">\n        <span class=\"example-block-content\"><span class=\"example-block-header\">For example:<\/span> If the respondent selects \u201cYes\u201d to the question \u201cHave you used our product before?\u201d, the follow-up question \u201cPlease rate your experience.\u201d will be displayed. However, if the respondent selects \u201cNo\u201d, the experience-related questions will remain hidden, ensuring that only relevant questions are shown.<br \/>\n<\/span>\n  <\/div>\n<li><strong>Contact Fields:<\/strong> This condition allows you to show or hide a question based on values stored in a Contact\u2019s profile within a directory. This logic works only if the participant is associated with a contact record before reaching the page where the show\/hide condition is applied.<\/li>\n<div class=\"example-block-container blue-shade\">\n        <span class=\"example-block-content\"><span class=\"example-block-header\">For example:<\/span> Consider a directory named ABC_Customers that contains stored contact records for all registered users. One of the contacts in this directory, Grace Martin, has a field called Customer Type set to Premium. If a survey is sent to contacts from this directory and Question Display Logic is configured to show a specific question only when Customer Type = Premium, then Grace will see the premium-related question when she takes the survey. However, another contact in the same directory whose Customer Type is set to Standard will not see that question.<br \/>\n<\/span>\n  <\/div>\n<li><strong>Activity Fields:<\/strong> This condition allows you to show or hide a question based on Activity Fields within a directory. Activity Fields typically represent transactional or event-based data associated with a contact, such as purchases, registrations, appointments, or service interactions. When Activity Field\u2013based logic is applied, the platform evaluates the relevant activity record linked to the contact and determines whether a question should be displayed.\n<p>This logic works only if the Contact\u2013Participant association has been established before the page where the show\/hide question appears.<\/p>\n<p>Activity-based Question Display Logic can be applied using two different criteria:<\/p>\n<ul>\n<li><strong>Latest activity record based on upload time:<\/strong> This option evaluates the most recently uploaded activity record for a contact and applies logic based on that record.<\/li>\n<div class=\"example-block-container blue-shade\">\n        <span class=\"example-block-content\"><span class=\"example-block-header\">For example:<\/span> Suppose you have a customer directory that includes an activity called Purchase. A client named Grace has two purchase activity records: in January, she purchased a mobile phone, and in February, she purchased a washing machine. If you configure Question Display Logic based on the latest activity record and then publish the project using the Purchase activity, the system will evaluate Grace\u2019s most recently uploaded purchase, which is the washing machine from February. As a result, any QDL conditions applied to the Purchase activity will be evaluated using the washing machine record, ensuring that the survey displays questions relevant to her most recent purchase.<br \/>\n<\/span>\n  <\/div>\n<li><strong>Activity record connected to the feedback:<\/strong>When publishing a project via Email or SMS, you have the option to link the invitation to a specific activity record. This allows you to collect feedback for a particular transaction or event.\n<p>When this option is selected, the Question Display Logic is evaluated based on the specific activity record linked to that invitation \u2014 not necessarily the latest one.<\/li>\n<div class=\"example-block-container blue-shade\">\n        <span class=\"example-block-content\"><span class=\"example-block-header\">For example:<\/span> Suppose your customer directory includes an activity called Purchase, and you configure Question Display Logic to show a question only when the Product Category = Electronics. When you publish the survey and link it to specific Purchase activity records (Activity Record Connected to the Feedback), the system evaluates each linked activity individually. As a result, the question will be displayed for all instances where the linked purchase satisfies the condition. For example, customers whose linked activity record is for a mobile phone or laptop (Electronics) will see the question, while those linked to a washing machine (Home Appliances) will not.<br \/>\n<\/span>\n  <\/div>\n<\/ul>\n<li><strong>Participant is a Contact:<\/strong> This condition allows you to show or hide a question when the survey participant is directly linked to an existing contact record in the Directory. If the participant is not a contact within the directory, the particular show hide question will not be displayed.<\/li>\n<\/ol>\n<div class=\"sogo-help-info-box\">\n<i class=\"fal fa-info-circle\"><\/i><\/p>\n<p class=\"sogo-info-text\">You cannot set a question as Show-Hide more than once, though a question can be set as a Decision question multiple times. A Decision question can have multiple Show-Hide questions.<\/p>\n<\/div>\n<li>Choose conditions such as \u2018is one of the following\u2019 or \u2018is not one of the following\u2019. As needed, add multiple decision questions\/conditions to a Show-Hide question.<\/li>\n<li>Save your settings.<\/li>\n<p><img decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2026\/03\/QDL_new.png\"><\/p>\n<li>To set more QDL rules, click on the <strong>Add new QDL rule<\/strong> button and follow the same steps.\n<div class=\"sogo-help-info-box\"><i class=\"fal fa-info-circle\"><\/i><\/p>\n<p class=\"sogo-info-text\">You can add up to 10 conditions within a single QDL rule. You can set up to 20 QDL rules on a page and up to 200 in a survey. Please note that limits vary by account type.\u202f<a href=\"\/help\/fair-use-limits\/\" rel=\"noopener\" target=\"_blank\"> Click here<\/a>\u202fto learn more. <\/p>\n<\/div>\n<\/li>\n<li>To delete or edit a QDL rule, hover over that rule and select the appropriate option.<\/li>\n<li>To add, edit, or delete a condition within a QDL rule, edit the QDL rule and select the appropriate option. <\/li>\n<li>Preview your survey to ensure your Question Display Logic is functioning as intended.<\/li>\n<div class=\"sogo-help-info-box\">\n<i class=\"fal fa-info-circle\"><\/i><\/p>\n<p class=\"sogo-info-text\">A Show-Hide question can be the Decision question for another Show-Hide question. This is known as nesting of Question Display Logic.<\/p>\n<\/div>\n<h3>Good to Know:<\/h3>\n<ul>\n<li>Question numbers will not be displayed on surveys in which QDL has been applied.<\/li>\n<li>If any question within a Matrix Grid is identified as a Show-Hide question, the entire Matrix Grid will be shown or hidden based on the display of that question.<\/li>\n<li>A Text Box set as a Show-Hide question can be displayed inside an immediately preceding Radio Button or Check Box question.<\/li>\n<li>A Text Box displayed inside a Radio Button or Check Box question will display based on the space available, not the width or height originally set.<\/li>\n<li>If an embedded Text Box question includes a linked video or image, the media will not be displayed.<\/li>\n<\/ul>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Question Display Logic is a type of skip logic that hides a certain question on a page unless the participant responds in a particular way to an earlier question. This feature allows you to ask questions to only those participants for whom the questions would be relevant. The initial question is referred to as the \u2018Decision&#8217; question, and a question that depends on it is the \u2018Show-Hide&#8217; question. Show-Hide questions must be positioned later in the survey than the Decision question they follow, but they may be on the same page or separate pages. Follow these steps to set up QDL: Create a new project or select a project to edit. Add all the questions in your survey, including both the qualifying &#8216;Decision&#8217; question and the follow-up &#8216;Show-Hide&#8217; question. Select Question Display Logic by clicking on Logic in the Design menu bar or by hovering over your Show-Hide question and clicking on Logic. A modal will appear to apply the QDL rule. Select the Show-Hide question from the Show drop-down. This is the question (or sub-question) that will be hidden from participants based upon the conditions applied. The first question of your survey cannot be set as Show-Hide. Next, select either of the following decision conditions based on which you want your Show-Hide question to be shown. Answer To Question:This condition allows you to show or hide a question based on a respondent\u2019s answer to a previous question within the same survey. Only questions that appear before the Show-Hide question [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":0,"parent":0,"menu_order":101,"comment_status":"closed","ping_status":"closed","template":"sogo_new_design.php","meta":{"footnotes":""},"categories":[213],"tags":[476,477,478,312],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.7.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up Question Display Logic in Your Project | Sogolytics<\/title>\n<meta name=\"description\" content=\"This feature allows you to ask questions to only those participants for whom the questions would be relevant. Follow the steps to set up question display logic.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up Question Display Logic in Your Project | Sogolytics\" \/>\n<meta property=\"og:description\" content=\"This feature allows you to ask questions to only those participants for whom the questions would be relevant. Follow the steps to set up question display logic.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/\" \/>\n<meta property=\"og:site_name\" content=\"Sogolytics\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-11T11:08:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/\",\"url\":\"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/\",\"name\":\"How to Set Up Question Display Logic in Your Project | Sogolytics\",\"isPartOf\":{\"@id\":\"https:\/\/www.sogolytics.com\/help\/#website\"},\"datePublished\":\"2018-08-27T08:09:36+00:00\",\"dateModified\":\"2026-03-11T11:08:42+00:00\",\"description\":\"This feature allows you to ask questions to only those participants for whom the questions would be relevant. Follow the steps to set up question display logic.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sogolytics.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Question Display Logic\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sogolytics.com\/help\/#website\",\"url\":\"https:\/\/www.sogolytics.com\/help\/\",\"name\":\"Sogolytics\",\"description\":\"Sogolytics - Online Survey Tool\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sogolytics.com\/help\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up Question Display Logic in Your Project | Sogolytics","description":"This feature allows you to ask questions to only those participants for whom the questions would be relevant. Follow the steps to set up question display logic.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up Question Display Logic in Your Project | Sogolytics","og_description":"This feature allows you to ask questions to only those participants for whom the questions would be relevant. Follow the steps to set up question display logic.","og_url":"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/","og_site_name":"Sogolytics","article_modified_time":"2026-03-11T11:08:42+00:00","twitter_card":"summary","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/","url":"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/","name":"How to Set Up Question Display Logic in Your Project | Sogolytics","isPartOf":{"@id":"https:\/\/www.sogolytics.com\/help\/#website"},"datePublished":"2018-08-27T08:09:36+00:00","dateModified":"2026-03-11T11:08:42+00:00","description":"This feature allows you to ask questions to only those participants for whom the questions would be relevant. Follow the steps to set up question display logic.","breadcrumb":{"@id":"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sogolytics.com\/help\/how-to-set-up-question-display-logic\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sogolytics.com\/help\/"},{"@type":"ListItem","position":2,"name":"Question Display Logic"}]},{"@type":"WebSite","@id":"https:\/\/www.sogolytics.com\/help\/#website","url":"https:\/\/www.sogolytics.com\/help\/","name":"Sogolytics","description":"Sogolytics - Online Survey Tool","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sogolytics.com\/help\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"seo_meta_info":{"yoast_noindex":"","rankmath_noindex":"","yoast_title":"How to Set Up Question Display Logic in Your Project | Sogolytics","yoast_desc":"This feature allows you to ask questions to only those participants for whom the questions would be relevant. Follow the steps to set up question display logic.","rankmath_title":"Question Display Logic","rankmath_desc":"Question Display Logic is a type of skip logic that hides a certain question on a page unless the participant responds in a particular way&hellip;"},"_links":{"self":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages\/44473"}],"collection":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/comments?post=44473"}],"version-history":[{"count":31,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages\/44473\/revisions"}],"predecessor-version":[{"id":65957,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/pages\/44473\/revisions\/65957"}],"wp:attachment":[{"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/media?parent=44473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/categories?post=44473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sogolytics.com\/help\/wp-json\/wp\/v2\/tags?post=44473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}