{"id":2757,"date":"2021-02-24T17:17:59","date_gmt":"2021-02-24T17:17:59","guid":{"rendered":"https:\/\/m-path.io\/manual\/?post_type=ht_kb&#038;p=2757"},"modified":"2025-03-11T15:59:42","modified_gmt":"2025-03-11T15:59:42","slug":"piping-from-a-previous-question","status":"publish","type":"ht_kb","link":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/knowledge-base\/piping-from-a-previous-question\/","title":{"rendered":"Piping from a previous question"},"content":{"rendered":"\n<p>In this article, you will learn how you can reuse answers from previous questions in new questions (also known as piping). An example is given in the images below.<\/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\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"456\" height=\"797\" src=\"\/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.23.png\" alt=\"\" class=\"wp-image-8601\" style=\"width:228px;height:399px\" srcset=\"\/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.23.png 456w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.23-172x300.png 172w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.23-29x50.png 29w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.23-34x60.png 34w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.23-57x100.png 57w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><figcaption class=\"wp-element-caption\"><meta charset=\"utf-8\">Answer of question 1.<\/figcaption><\/figure><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"797\" src=\"\/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.56.png\" alt=\"\" class=\"wp-image-8604\" style=\"width:220px;height:399px\" srcset=\"\/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.56.png 440w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.56-166x300.png 166w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.56-28x50.png 28w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.56-33x60.png 33w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.09.56-55x100.png 55w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><figcaption class=\"wp-element-caption\"><meta charset=\"utf-8\">Answer of question 2.<\/figcaption><\/figure><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"800\" src=\"\/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.10.03.png\" alt=\"\" class=\"wp-image-8607\" style=\"width:230px;height:400px\" srcset=\"\/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.10.03.png 460w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.10.03-173x300.png 173w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.10.03-29x50.png 29w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.10.03-35x60.png 35w, \/wp-content\/uploads\/2021\/09\/Schermafbeelding-2021-09-02-om-14.10.03-58x100.png 58w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><figcaption class=\"wp-element-caption\"><meta charset=\"utf-8\">Reuse answer of question 1 and question 2 in question 3.<\/figcaption><\/figure><\/div><\/div>\n<\/div>\n\n\n\n<p>You can do this by using <strong>@INSERT{[question1]}<\/strong> in the third question. &#8216;@INSERT{[question1]}&#8217; will not be shown in the third question but will be replaced with the answers given by the question with label &#8216;question1&#8217;. This can be used both in the question itself (<em>How do you feel now from p-phacking to chocolate?<\/em>) and in the options in the question (the anchors of the slider or the options of a multiple choice question).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"772\" height=\"419\" src=\"\/wp-content\/uploads\/2021\/02\/Capture-2.png\" alt=\"\" class=\"wp-image-2778\" srcset=\"\/wp-content\/uploads\/2021\/02\/Capture-2.png 772w, \/wp-content\/uploads\/2021\/02\/Capture-2-300x163.png 300w, \/wp-content\/uploads\/2021\/02\/Capture-2-768x417.png 768w, \/wp-content\/uploads\/2021\/02\/Capture-2-50x27.png 50w, \/wp-content\/uploads\/2021\/02\/Capture-2-60x33.png 60w, \/wp-content\/uploads\/2021\/02\/Capture-2-100x54.png 100w\" sizes=\"auto, (max-width: 772px) 100vw, 772px\" \/><figcaption class=\"wp-element-caption\">This image shows how question 3 looks in the question creator in the online dashboard.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Piping answer from a previous interaction or questionnaire<\/h2>\n\n\n\n<p>The above method only works when a given answer is available within a questionnaire. So when an answer was previously given in a specific questionnaire, it can be piped later in the same questionnaire. It is however also possible to pipe text from a previous interaction or questionnaire. If a question with label <strong>question1<\/strong> is answered in <strong>questionnaire_1<\/strong> and you want to pipe this answer in <strong>questionnaire_2<\/strong> (where <strong>question1<\/strong> was not answered) you have to follow the following steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After question with label <strong>question1 <\/strong>is answered in <strong>questionnaire_1<\/strong> the answer should be saved using the <a href=\"\/knowledge-base\/save-answer\/\">save functionality<\/a>.<\/li>\n\n\n\n<li>In <strong>questionnaire_2<\/strong>, the answer of <strong>question1<\/strong> should be loaded again using the <a href=\"\/knowledge-base\/load-answer\/\">load functionality<\/a>.<\/li>\n\n\n\n<li>It is now possible to normally pipe the answer using @INSERT{[question1]} in <strong>questionnaire_2<\/strong>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this article, you will learn how you can reuse answers from previous questions in new questions (also known as piping). An example is given in the images below. You can do this by using @INSERT{[question1]} in the third question. &#8216;@INSERT{[question1]}&#8217; will not be shown in the third question but&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[804],"ht-kb-tag":[249,897,894,252,243,246],"class_list":["post-2757","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cool-stuff","ht_kb_tag-insert-text","ht_kb_tag-pipe","ht_kb_tag-piped","ht_kb_tag-piped-text","ht_kb_tag-piping","ht_kb_tag-reuse-previous-answer"],"_links":{"self":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/2757","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=2757"}],"version-history":[{"count":9,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/2757\/revisions"}],"predecessor-version":[{"id":13841,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/2757\/revisions\/13841"}],"wp:attachment":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=2757"}],"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=2757"},{"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=2757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}