{"id":5765,"date":"2021-05-28T11:09:34","date_gmt":"2021-05-28T10:09:34","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?post_type=epkb_post_type_1&#038;p=5765"},"modified":"2022-01-17T14:01:18","modified_gmt":"2022-01-17T14:01:18","slug":"masking-code-boxes","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/","title":{"rendered":"Masking code boxes"},"content":{"rendered":"\n<p>\n  Code boxes, along with code labels (i.e. response options) can be hidden for multiple and single response type questions. These response options can be hidden in a matter of two ways, statically and dynamically.\n<\/p>\n\n\n\n<p><strong>Static<\/strong> masking is used to hide a response option in all conditions of the survey. Meaning, once applied to a question the response option will always be hidden. This might be useful for grid questions where one option is not applicable for a specific row within the grid. When used, the response option that is desired to be hidden is referenced and prefaced with the word \u201cnot\u201d (i.e. \u201cnot 5\u201d).\n<\/p>\n\n\n\n<p><strong>Dynamic<\/strong> masking is used to conditionally show response options based on a response to a previous question. This type of masking can be used to customize a survey\u2019s response options based on how a respondent is answering questions.\n<\/p>\n\n\n\n<p>   Below are two examples of dynamic masking. Static masking will not be covered directly in this work sheet. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-5765-_Example_One:_Masking\"><\/a>Example One: Masking follow-up questions with the response options<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>\n  First, there will need to be two questions with identical response options. The best way to do this is by cloning the first question to make the second. To clone a question, select it in the Questionnaire Design window\n  <img decoding=\"async\" width=\"27\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png\" class=\"wp-image-5766\" alt=\"QuestionnaireIcon.png\">\n  .\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"616\" height=\"269\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/please-select-step-1a-jpg.jpeg\" alt=\"please-select-step-1a.jpg\" class=\"wp-image-5767\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/please-select-step-1a-jpg.jpeg 616w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/please-select-step-1a-jpg-300x131.jpeg 300w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>\n  Click <strong>Clone <\/strong>\n  <img decoding=\"async\" width=\"25\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/cloneicon-png-3.png\" class=\"wp-image-5768\" alt=\"CloneIcon.png\">\n   to clone the selected question which will appear just below the selected question. The text of the cloned question should be edited appropriately and the response type can be changed to single:\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"264\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-of-the-following-step-1a-2-jpg.jpeg\" alt=\"which-of-the-following-step-1a-2.jpg\" class=\"wp-image-5769\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-of-the-following-step-1a-2-jpg.jpeg 476w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-of-the-following-step-1a-2-jpg-300x166.jpeg 300w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>\n  The masking feature should be applied to the cloned question; in this example that\u2019s Q2. To apply masking, right click the question and select <strong>Variable Properties<\/strong>. This opens the Variable Properties window where you can set the <strong>Mask<\/strong> property.\n<\/li><li>\n  To Mask the cloned question so that only the options selected in a previous question are shown, the following syntax should be applied: \u201cQuestion Name\u201d (i.e. Q1)\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"372\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/eg1varprops1-png.png\" alt=\"Eg1VarProps1.PNG\" class=\"wp-image-5770\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/eg1varprops1-png.png 280w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/eg1varprops1-png-226x300.png 226w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>   If the opposite masking is desired (show response options that were not selected), the syntax should be as follows: \u201cnot Question Name\u201d (i.e. not Q1) <\/li><li>   Once the masking is applied, click Save    <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/saveicon-png-18.png\" class=\"wp-image-5771\" alt=\"SaveIcon.png\">    to save the questionnaire.  <\/li><li>   To preview the masking feature, publish the survey in preview mode <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" class=\"wp-image-6164\" style=\"width: 26px;\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/publishicon-png.png\" alt=\"PublishIcon.png\">. <\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-5765-_Example_Two:_Conditionally\"><\/a>Example Two: Conditionally masking using derived variables.<\/h3>\n\n\n\n<p>\n  In this example respondents will first pick the location where they work. Then, based on the location they picked, the response options of a latter question will only show the options available at that location. This would be useful in situations where response options for a question need to be grouped together and filtered out based on previous responses.\n<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\n  Create a question that will represent each group of masked options. In this example there will be three office locations:\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"312\" height=\"111\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-office-ex2-step1-jpg.jpeg\" alt=\"which-office-ex2-step1.jpg\" class=\"wp-image-5772\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-office-ex2-step1-jpg.jpeg 312w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-office-ex2-step1-jpg-300x107.jpeg 300w\" sizes=\"(max-width: 312px) 100vw, 312px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>\n  Now create the question that will contain masking. This question should contain all of the possible response options. For example:\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"264\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-of-the-following-step-1a-2-jpg-1.jpeg\" alt=\"which-of-the-following-step-1a-2.jpg\" class=\"wp-image-5773\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-of-the-following-step-1a-2-jpg-1.jpeg 476w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/which-of-the-following-step-1a-2-jpg-1-300x166.jpeg 300w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>   Next, the derived variable that determines the logic of the applied masking should be created. Click <strong>Variables<\/strong> and select the question being masked from the variables list, Q2. <\/li><li>   Click <strong>Clone<\/strong>    <img loading=\"lazy\" decoding=\"async\" width=\"25\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/cloneicon-png-4.png\" class=\"wp-image-5774\" alt=\"CloneIcon.png\">    to create a new variable based on the selected question, Q2. <\/li><li>   Edit the new variable so that the <strong>Type<\/strong> is set to Derived and <strong>Response<\/strong> is set to Multiple. <\/li><li> Set the code values for each response option in the derived variable. Each code value response references the masking question, for example Q1=(1,2,3)<\/li><li>   The following shows the values for the departments at each office location:   <ul><li>       London has Customer Services and Training     <\/li><li>       New York has Accounting, Customer Services, Human Resources, IT Support, Research, Sales and Training     <\/li><li>       Paris has Accounting, Customer Services, Data Center, Development, Human Resources, IT Support, Research, Sales and Training.      <\/li><\/ul><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"505\" height=\"378\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/MaskingVariable.png\" alt=\"\" class=\"wp-image-6837\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/MaskingVariable.png 505w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/MaskingVariable-300x225.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"8\"><li>   Click <strong>Save<\/strong>    <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/saveicon-png-19.png\" class=\"wp-image-5777\" alt=\"SaveIcon.png\">    to save the derived variable. <\/li><li>   In the <strong>Questionnaire <\/strong><img loading=\"lazy\" decoding=\"async\" width=\"27\" height=\"26\" class=\"wp-image-6439\" style=\"width: 27px;\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/09\/questionnaireicon-png-1.png\" alt=\"QuestionnaireIcon.png\">window, select the masked question, right click and select <strong>Variable Properties<\/strong> <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" class=\"wp-image-6640\" style=\"width: 26px;\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/10\/variablepropsicon-png-2.png\" alt=\"VariablePropsIcon.png\">. <\/li><li>   In the <strong>Mask<\/strong> property enter the name of the derived variable, V1, as the masking value: <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"372\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/eg2varprops1-png.png\" alt=\"Eg2VarProps1.PNG\" class=\"wp-image-5778\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/eg2varprops1-png.png 280w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/eg2varprops1-png-226x300.png 226w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"12\"><li>   Click <strong>OK<\/strong> to save the masking value. <\/li><li>   Once the masking is applied, click Save    <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/saveicon-png-20.png\" class=\"wp-image-5779\" alt=\"SaveIcon.png\">    to save the survey. <\/li><li>   To preview the masking feature in action, publish the survey in preview mode <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" class=\"wp-image-6164\" style=\"width: 26px;\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/publishicon-png.png\" alt=\"PublishIcon.png\">.  <\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Alternative masking derived variable definition<\/h2>\n\n\n\n<p>There is an alternative way to define the derived variable used for masking. When the Toggle Definition <img loading=\"lazy\" decoding=\"async\" width=\"25\" height=\"25\" class=\"wp-image-6204\" style=\"width: 25px;\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/toggledefnicon-png.png\" alt=\"ToggleDefnIcon.PNG\"> is selected the definition fields are shown, including the Initial Value field. The Initial Value field can be used to enter a calculation that provides the basis for the values in the code list. This simplifies the code values when using a long calculation. The diagram shows the equivalent derived variables; one with an initial value and one without. Both these derived variables will behave in the same way.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/VariableEquivalents-1024x573.png\" alt=\"\" class=\"wp-image-6844\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/VariableEquivalents-1024x573.png 1024w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/VariableEquivalents-300x168.png 300w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/VariableEquivalents-768x430.png 768w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/11\/VariableEquivalents.png 1080w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n  If there is a topic you would like a tutorial on, email to <a href=\"mailto:snapideas@snapsurveys.com\" target=\"_self\" rel=\"noopener noreferrer\">snapideas@snapsurveys.com<\/a>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Code boxes, along with code labels (i.e. response options) can be hidden for multiple and single response type questions. These response options can be hidden in a matter of two ways, statically and dynamically. Static masking is used to hide a response option in all conditions of the survey. Meaning, once applied to a question [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"epkb_post_type_1_category":[99],"epkb_post_type_1_tag":[],"class_list":["post-5765","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-how-to-tutorials-snap-desktop-logic"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Masking code boxes | SnapSurveys<\/title>\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.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Masking code boxes | SnapSurveys\" \/>\n<meta property=\"og:description\" content=\"Code boxes, along with code labels (i.e. response options) can be hidden for multiple and single response type questions. These response options can be hidden in a matter of two ways, statically and dynamically. Static masking is used to hide a response option in all conditions of the survey. Meaning, once applied to a question [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/\" \/>\n<meta property=\"og:site_name\" content=\"SnapSurveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/snapsurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-17T14:01:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated 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.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/\",\"name\":\"Masking code boxes | SnapSurveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png\",\"datePublished\":\"2021-05-28T10:09:34+00:00\",\"dateModified\":\"2022-01-17T14:01:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#primaryimage\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png\",\"width\":27,\"height\":26,\"caption\":\"QuestionnaireIcon.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Snap XMP Support\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Masking code boxes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"name\":\"Snap XMP Support Hub\",\"description\":\"Support documentation for Snap Surveys products\",\"publisher\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\",\"name\":\"Snap Surveys\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"width\":867,\"height\":159,\"caption\":\"Snap Surveys\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/snapsurveys\",\"https:\/\/x.com\/snapsurveys\",\"https:\/\/www.linkedin.com\/company\/snapsurveys\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Masking code boxes | SnapSurveys","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.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/","og_locale":"en_GB","og_type":"article","og_title":"Masking code boxes | SnapSurveys","og_description":"Code boxes, along with code labels (i.e. response options) can be hidden for multiple and single response type questions. These response options can be hidden in a matter of two ways, statically and dynamically. Static masking is used to hide a response option in all conditions of the survey. Meaning, once applied to a question [&hellip;]","og_url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/","og_site_name":"SnapSurveys","article_publisher":"https:\/\/www.facebook.com\/snapsurveys","article_modified_time":"2022-01-17T14:01:18+00:00","og_image":[{"url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/","name":"Masking code boxes | SnapSurveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#primaryimage"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png","datePublished":"2021-05-28T10:09:34+00:00","dateModified":"2022-01-17T14:01:18+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#primaryimage","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png","contentUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/05\/questionnaireicon-png.png","width":27,"height":26,"caption":"QuestionnaireIcon.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/masking-code-boxes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/"},{"@type":"ListItem","position":2,"name":"Snap XMP Support","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/"},{"@type":"ListItem","position":3,"name":"Masking code boxes"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","name":"Snap XMP Support Hub","description":"Support documentation for Snap Surveys products","publisher":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization","name":"Snap Surveys","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","contentUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","width":867,"height":159,"caption":"Snap Surveys"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/snapsurveys","https:\/\/x.com\/snapsurveys","https:\/\/www.linkedin.com\/company\/snapsurveys"]}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/5765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/comments?post=5765"}],"version-history":[{"count":5,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/5765\/revisions"}],"predecessor-version":[{"id":6846,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/5765\/revisions\/6846"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/media?parent=5765"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=5765"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=5765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}