{"id":5002,"date":"2021-08-26T08:06:14","date_gmt":"2021-08-26T08:06:14","guid":{"rendered":"https:\/\/m-path.io\/manual\/?post_type=ht_kb&#038;p=5002"},"modified":"2024-06-20T17:37:15","modified_gmt":"2024-06-20T17:37:15","slug":"container","status":"publish","type":"ht_kb","link":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/knowledge-base\/container\/","title":{"rendered":"Container"},"content":{"rendered":"\n<p>A container item can be used for the grouping of multiple questions or randomization. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"199\" src=\"\/wp-content\/uploads\/2021\/08\/image-7-1024x199.png\" alt=\"\" class=\"wp-image-5125\" srcset=\"\/wp-content\/uploads\/2021\/08\/image-7-1024x199.png 1024w, \/wp-content\/uploads\/2021\/08\/image-7-300x58.png 300w, \/wp-content\/uploads\/2021\/08\/image-7-768x149.png 768w, \/wp-content\/uploads\/2021\/08\/image-7-50x10.png 50w, \/wp-content\/uploads\/2021\/08\/image-7-60x12.png 60w, \/wp-content\/uploads\/2021\/08\/image-7-100x19.png 100w, \/wp-content\/uploads\/2021\/08\/image-7.png 1300w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">You can add questions in your container by ticking the arrow next to &#8216;Container&#8217;<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"203\" src=\"\/wp-content\/uploads\/2021\/08\/image-8-1024x203.png\" alt=\"\" class=\"wp-image-5128\" srcset=\"\/wp-content\/uploads\/2021\/08\/image-8-1024x203.png 1024w, \/wp-content\/uploads\/2021\/08\/image-8-300x59.png 300w, \/wp-content\/uploads\/2021\/08\/image-8-768x152.png 768w, \/wp-content\/uploads\/2021\/08\/image-8-50x10.png 50w, \/wp-content\/uploads\/2021\/08\/image-8-60x12.png 60w, \/wp-content\/uploads\/2021\/08\/image-8-100x20.png 100w, \/wp-content\/uploads\/2021\/08\/image-8.png 1318w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">All the questions you add just below &#8216;Container&#8217; (first arrow) will be displayed together.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Randomize<\/h3>\n\n\n\n<p>If you check this box, all questions\/items in that container will be displayed in a random order. This setting has two sub-settings:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Use subset<\/h4>\n\n\n\n<p>If you check this box, an input field will appear. Here you can enter an amount, and m-Path will choose exactly this many items from the container to show in a random order.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"200\" src=\"\/wp-content\/uploads\/2023\/09\/Capture-1024x200.jpg\" alt=\"\" class=\"wp-image-11548\" srcset=\"\/wp-content\/uploads\/2023\/09\/Capture-1024x200.jpg 1024w, \/wp-content\/uploads\/2023\/09\/Capture-300x59.jpg 300w, \/wp-content\/uploads\/2023\/09\/Capture-768x150.jpg 768w, \/wp-content\/uploads\/2023\/09\/Capture-50x10.jpg 50w, \/wp-content\/uploads\/2023\/09\/Capture-1536x300.jpg 1536w, \/wp-content\/uploads\/2023\/09\/Capture-60x12.jpg 60w, \/wp-content\/uploads\/2023\/09\/Capture-100x20.jpg 100w, \/wp-content\/uploads\/2023\/09\/Capture.jpg 1641w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Each time, m-Path will randomly choose 1 of the 3 questions to show. <\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Pseudo-random<\/h4>\n\n\n\n<p>If you choose this option, m-Path will make sure that every option is chosen at least once before it chooses an already triggered question twice. This also works over the course of multiple interactions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Settings<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">General<\/h3>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link has-text-color wp-element-button\" href=\"\/knowledge-base\/questions-general-settings\/\" style=\"color:#03a9f3\">General settings for all questions<\/a><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Specific<\/h3>\n\n\n\n<h4 class=\"wp-block-heading has-theme-default-color has-text-color\">Display on one page<\/h4>\n\n\n\n<p>By ticking this box, your questions\/media will all display on one page. If not all questions fit on the clients screen, your client has to scroll. If you want to divide your questionnaire into different &#8216;pages&#8217;, you have to make different containers. <\/p>\n\n\n\n<p>Using this one page setting, multiple questions (or questions and media or text) can be shown on one page. An example of this is shown in the following video. The questionnaire associated with this video can be found as &#8216;container one page&#8217; in the library. <\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"\/wp-content\/uploads\/2024\/06\/container-page.mp4\"><\/video><figcaption class=\"wp-element-caption\">Multiple questions shown on one page. Expand to watch video. The questionnaire associated with this video can be found as &#8216;container one page&#8217; in the library. <\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">If you want to create some space between items on a one-page container, you can add a &#8220;Divider&#8221; module to do this.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>This setting as two sub-settings:<\/p>\n\n\n\n<h5 class=\"wp-block-heading has-theme-default-color has-text-color\"><strong>Has next button<\/strong><\/h5>\n\n\n\n<p>In a normal questionnaire it is recommended to use a next button, otherwise your clients will not be able to go any further or submit their answers. If you want to customize the next button, go to <a href=\"\/knowledge-base\/questions-general-settings\/#4-customize-next-button\">general settings<\/a>.<\/p>\n\n\n\n<p>When you are making an <a href=\"\/article-categories\/applet\/\" data-type=\"URL\" data-id=\"\/article-categories\/applet\/\">applet<\/a>, you could remove the next button to enhance the layout of your applet.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">If you do not check the box <em>Has next button<\/em> in a questionnaire, the participant can not go any further with the questionnaire and is not able to submit the answers. <\/p>\n\n\n\n<h5 class=\"wp-block-heading has-theme-default-color has-text-color\"><strong>Display as row if possible<\/strong><\/h5>\n\n\n\n<p>You can only use this function with buttons. <\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">If you check the box <em>Display as row if possible<\/em> in a questionnaire, your screen will be empty.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Loop container<\/h4>\n\n\n\n<p>With this option, you can create a loop that goes over a sequence of items several times until an exit condition is met. To better understand this feature, an example use is detailed on the <a href=\"\/knowledge-base\/loop-containers\/\" data-type=\"ht_kb\" data-id=\"12531\">Loop Container<\/a> page. This setting has one sub option.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Label to check for exit condition<\/h5>\n\n\n\n<p>The name of the label or variable (defined in a computation question) that must equal or exceed the value of 1 to exit the loop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"402\" src=\"\/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02-1024x402.png\" alt=\"\" class=\"wp-image-12558\" srcset=\"\/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02-1024x402.png 1024w, \/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02-300x118.png 300w, \/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02-768x302.png 768w, \/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02-50x20.png 50w, \/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02-60x24.png 60w, \/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02-100x39.png 100w, \/wp-content\/uploads\/2024\/04\/Screenshot-2024-04-05-at-10.35.02.png 1262w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>A container item can be used for grouping multiple questions or randomization.<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[514],"ht-kb-tag":[],"class_list":["post-5002","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-advanced-items"],"_links":{"self":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/5002","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=5002"}],"version-history":[{"count":16,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/5002\/revisions"}],"predecessor-version":[{"id":12841,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/5002\/revisions\/12841"}],"wp:attachment":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=5002"}],"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=5002"},{"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=5002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}