{"id":1452,"date":"2020-12-12T13:45:23","date_gmt":"2020-12-12T13:45:23","guid":{"rendered":"https:\/\/m-path.io\/manual\/?post_type=ht_kb&#038;p=1452"},"modified":"2025-04-22T15:01:17","modified_gmt":"2025-04-22T15:01:17","slug":"conditional-question","status":"publish","type":"ht_kb","link":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/knowledge-base\/conditional-question\/","title":{"rendered":"Conditional questions"},"content":{"rendered":"\n<p>Conditional questions are those that are not automatically asked: they are only triggered depending on your previous answers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Question Types<\/strong><\/h3>\n\n\n\n<p>You can create a conditional question after a <a href=\"\/knowledge-base\/multiple-choice\/#7-conditional-question\">multiple choice question<\/a>, a <a href=\"\/knowledge-base\/slider-question\/#conditional-question\">slider question<\/a>, a <a href=\"\/knowledge-base\/smiley-question\/#conditional-question\">smiley question<\/a> or a <a href=\"\/knowledge-base\/yes-no-question\/#conditional-question\">Yes\/No question<\/a>. It is also possible to use a conditional question with more advanced logic using <a href=\"https:\/\/manual.m-path.io\/knowledge-base\/computation-question\/\" data-type=\"ht_kb\" data-id=\"3300\">computation questions<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Create Conditional Question<\/strong><\/h3>\n\n\n\n<p>A question that is conditional on another question can be created by clicking on the upside down arrow as shown in following figure.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"\/wp-content\/uploads\/2021\/04\/Capture2-1024x276.png\" alt=\"\" class=\"wp-image-3283\" style=\"width:734px;height:198px\" srcset=\"\/wp-content\/uploads\/2021\/04\/Capture2-1024x276.png 1024w, \/wp-content\/uploads\/2021\/04\/Capture2-300x81.png 300w, \/wp-content\/uploads\/2021\/04\/Capture2-768x207.png 768w, \/wp-content\/uploads\/2021\/04\/Capture2-50x13.png 50w, \/wp-content\/uploads\/2021\/04\/Capture2-1536x414.png 1536w, \/wp-content\/uploads\/2021\/04\/Capture2-60x16.png 60w, \/wp-content\/uploads\/2021\/04\/Capture2-100x27.png 100w, \/wp-content\/uploads\/2021\/04\/Capture2.png 1578w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">By clicking on the downward arrow (circled in red) a conditional question can be created on the first question. The new (conditional question) can then be typed in the new inputbox.<\/figcaption><\/figure><\/div>\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Overview Conditional Questions<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Indentation<\/h4>\n\n\n\n<p>The way conditional questions are displayed makes it very easy to keep an overview. For every independent question, the conditional questions indent to the right of the arrow.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\"><div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1016\" src=\"\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-1024x1016.png\" alt=\"\" class=\"wp-image-1536\" style=\"width:560px;height:555px\" srcset=\"\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-1024x1016.png 1024w, \/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-300x298.png 300w, \/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-150x150.png 150w, \/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-768x762.png 768w, \/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-50x50.png 50w, \/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-60x60.png 60w, \/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33-100x100.png 100w, \/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-15-at-10.01.33.png 1358w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div><\/div>\n<\/div>\n\n\n\n<p>In this figure, the independent questions with their conditional questions are:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Where are you at this moment?\n<ul class=\"wp-block-list\">\n<li>[if answer = on the go] How are you transporting yourself?\n<ul class=\"wp-block-list\">\n<li>[if answer = bus] How long do you stay on the bus?<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>[if answer = at home] Which activity are you doing?<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>How stressed do you feel at this moment?\n<ul class=\"wp-block-list\">\n<li>[if answer lays in between (70,100)] What did you do to cope with this stress?<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Hide Conditional Questions<\/h4>\n\n\n\n<script src=\"https:\/\/kit.fontawesome.com\/698215964e.js\" crossorigin=\"anonymous\"><\/script>\n  \n   <p style=\"font-family:Roboto;font-style:regular;font-size:18px;\">\n         By clicking on <i class=\"fas fa-arrow-circle-down\"><\/i>, you can hide the conditional questions for each independent question to keep an overview of your questionnaire. <\/p>\n\n\n\n<p>The video below illustrates how the conditional questions from the previous example are hidden.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"\/wp-content\/uploads\/2020\/12\/hide-conditional.mp4\"><\/video><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>After Computation Question<\/strong><\/h3>\n\n\n\n<p>It is also possible to use conditional logic after a computation question. Using computation questions it is possible to create advanced logic (e.g. only ask a question if the maximum of all previous answers exceeds 70). This is explained in the <a href=\"\/knowledge-base\/computation-question\/\">computation item<\/a> article.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conditional questions are those that are not automatically asked: they are only triggered depending on your previous answers. Question Types You can create a conditional question after a multiple choice question, a slider question, a smiley question or a Yes\/No question. It is also possible to use a conditional question&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[],"ht-kb-tag":[],"class_list":["post-1452","ht_kb","type-ht_kb","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/1452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=1452"}],"version-history":[{"count":26,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/1452\/revisions"}],"predecessor-version":[{"id":13843,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/1452\/revisions\/13843"}],"wp:attachment":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=1452"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-category?post=1452"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-tag?post=1452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}