

{"id":12316,"date":"2016-09-01T06:55:08","date_gmt":"2016-09-01T13:55:08","guid":{"rendered":"http:\/\/www.questionpro.com\/?p=12316"},"modified":"2024-05-08T22:35:20","modified_gmt":"2024-05-09T05:35:20","slug":"adding-logic-online-survey","status":"publish","type":"post","link":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/","title":{"rendered":"Simple Guide to Adding Logic to An Online Survey"},"content":{"rendered":"<p>Sometimes, I feel like options for adding logic to an online survey can seem super complicated and overwhelming. Let&#8217;s clear up that myth.<br \/>\n<!--more--><\/p>\n<h2>Adding Logic to An Online Survey<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-775661 size-full alignright\" src=\"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2016\/09\/bigstock-flow-chart-7856887-s-1280x853-450x300-1.jpg\" alt=\"\" width=\"450\" height=\"300\" \/>I recently put together a short survey that was an event <a href=\"https:\/\/www.questionpro.com\/blog\/follow-up-questions\/\">follow-up questions<\/a> for survey. As I was looking through the questions one last time, not having added any logic to the survey, I suddenly realized I had missed a prime opportunity to avoid being redundant to my respondents. I had asked early in the survey whether the event the respondents were providing feedback on was the first event of its type they had attended. Later, I asked how this event compared to other such events they may have attended. In order to acknowledge those for whom this was their first event, I did the traditional thing: add an option that said, &#8220;I have not attended other events.&#8221;<\/p>\n<p>Oops! Rewind. Let&#8217;s try doing this a different way by adding logic to an online survey.<\/p>\n<p style=\"text-align: center;\"><strong>LEARN ABOUT:<\/strong> <a href=\"https:\/\/www.questionpro.com\/blog\/event-surveys\/\">Event Surveys<\/a><\/p>\n<p>Instead of making respondents who <em>already<\/em> told me this was their first event tell me <em>again<\/em> that this was their first event, I could use <a href=\"https:\/\/www.questionpro.com\/features\/show-or-hide-questions.html\">show\/hide question logic<\/a>. Sound complicated? It isn&#8217;t &#8211; at all.<\/p>\n<p>I went to the <em>&#8220;how did this compare&#8221;<\/em> question, clicked on <em><strong>Logic,<\/strong><\/em> selected <em><strong>Show\/Hide Question Logic,<\/strong><\/em> and created my criteria (respondents said this was their first event). Using this criteria\u00a0I decided to show the question by default but hide the question if respondents did say this had been their first event.<\/p>\n<p>So now, for those who said this had been their first event, they don&#8217;t have to tell me one more time that they haven&#8217;t attended another <a href=\"https:\/\/www.questionpro.com\/blog\/event-feedback-software\/\">event feedback<\/a>. In fact, they won&#8217;t even <em>know<\/em> the &#8220;how did this compare to other events&#8221; question exists (unless they&#8217;re reading this post). That&#8217;s the magic of adding logic to an online survey<\/p>\n<p>This example is a simple illustration of the fact that <em>any time<\/em> you can spare respondents from having to repeat themselves unnecessarily, or from having to see questions that just don&#8217;t apply to them, it&#8217;s a great time to use logic in your <a href=\"https:\/\/www.questionpro.com\/blog\/surveys\/\">surveys<\/a>. Even short, 5-minute surveys can benefit from using logic!<\/p>\n<p style=\"text-align: center;\">LEARN ABOUT: <a href=\"https:\/\/www.questionpro.com\/blog\/create-a-survey\/\">Top 12 Tips to Create A Good Survey<\/a><\/p>\n<h2>Logic options available<\/h2>\n<p>I&#8217;m not going to dive into the many logic options available to our QuestionPro clients, but let&#8217;s review three of the more common options.<\/p>\n<ul>\n<li><strong><a href=\"https:\/\/www.questionpro.com\/features\/branching.html\">Branching\/Skip logic<\/a>.<\/strong> Let&#8217;s say you have a few questions that some respondents could simply skip over based on their previous responses in the survey. Enter the branching logic option! This allows you to let those respondents ignore questions that don&#8217;t apply. For example, let&#8217;s say you&#8217;re asking about respondents&#8217; use of a particular product. Some say yes they use that product frequently, others haven&#8217;t used it in at least a year. But you&#8217;d like everyone to answer some demographic questions at the end. For those who use the product frequently, you can give them a few more questions about their experience; the rest can skip to the demographic section of the survey.<\/li>\n<\/ul>\n<ul>\n<li><strong><a href=\"https:\/\/www.questionpro.com\/help\/471.html\" rel=\"nofollow\">Dynamic comment box<\/a>.<\/strong> This is one I love to show, because I have used it many times in the surveys I&#8217;ve generated (in fact, it&#8217;s used in the feedback tab on our blog posts). It saves the <a href=\"https:\/\/www.questionpro.com\/blog\/online-questionnaire\/\">online questionnaire<\/a> programmer from needing to create a separate open-ended text question with skip logic applied. Instead, the comment box appears as needed based on responses given to a single-choice or multiple-choice question.<\/li>\n<\/ul>\n<ul>\n<li><strong><a href=\"https:\/\/www.questionpro.com\/features\/advanced-branching-logic.html\">Delayed branching\/skip logic<\/a>.<\/strong> But wait, didn&#8217;t I just talk about this? Yes, but delayed branching logic lets you use criteria that routes respondents based on answers to multiple questions, not just one question.<\/li>\n<\/ul>\n<h2>A word of caution<\/h2>\n<p>When adding logic to an online survey, be extra sure you&#8217;re testing your surveys thoroughly. This is especially true for surveys where you might have a few branching options or where you use the <a href=\"https:\/\/www.questionpro.com\/features\/show-or-hide-questions.html\">show\/hide question option<\/a> more than once, etc. For one particular super-complicated survey with multiple branching options, I actually had a spreadsheet that I kept to keep track of who branched where, based on what question or criteria. It was extremely helpful when it came to testing the different tracks. We also tested that survey vigorously &#8211; meaning we had all sorts of people testing it multiple times to be sure that the logic was all working as expected. But, as complicated as that may have been, it saved respondents from having to answer questions that didn&#8217;t apply to them, meaning we received more accurate data that didn&#8217;t need to be sorted through to remove all the &#8220;N\/A&#8221; answers we would have otherwise collected. Win-win!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, I feel like options for adding logic to an online survey can seem super complicated and overwhelming. Let&#8217;s clear [&hellip;]<\/p>\n","protected":false},"author":76,"featured_media":775674,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"adding logic to an online survey","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Adding logic to an online survey can seem super complicated and overwhelming. Let's clear up that myth. Here are some examples.","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[203,187],"tags":[284,289,405],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Simple Guide to Adding Logic to An Online Survey | QuestionPro<\/title>\n<meta name=\"description\" content=\"Adding logic to an online survey can seem super complicated and overwhelming. Let&#039;s clear up that myth. Here are some examples.\" \/>\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.questionpro.com\/blog\/adding-logic-online-survey\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Simple Guide to Adding Logic to An Online Survey | QuestionPro\" \/>\n<meta property=\"og:description\" content=\"Adding logic to an online survey can seem super complicated and overwhelming. Let&#039;s clear up that myth. Here are some examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/\" \/>\n<meta property=\"og:site_name\" content=\"QuestionPro\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/questionpro\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-01T13:55:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-09T05:35:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2016\/09\/bigstock-flow-chart-7856887-s-1280x853-450x300-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"450\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Santa Rimsevica\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@questionpro\" \/>\n<meta name=\"twitter:site\" content=\"@questionpro\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Santa Rimsevica\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/\"},\"author\":{\"name\":\"Santa Rimsevica\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/#\/schema\/person\/e14a135b182085c87cbbc4da0d0a3638\"},\"headline\":\"Simple Guide to Adding Logic to An Online Survey\",\"datePublished\":\"2016-09-01T13:55:08+00:00\",\"dateModified\":\"2024-05-09T05:35:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/\"},\"wordCount\":818,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.questionpro.com\/blog\/#organization\"},\"keywords\":[\"Best Practice\",\"Online Survey Design\",\"Survey Logic\"],\"articleSection\":[\"Market Research\",\"Surveys\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/\",\"url\":\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/\",\"name\":\"Simple Guide to Adding Logic to An Online Survey | QuestionPro\",\"isPartOf\":{\"@id\":\"https:\/\/www.questionpro.com\/blog\/#website\"},\"datePublished\":\"2016-09-01T13:55:08+00:00\",\"dateModified\":\"2024-05-09T05:35:20+00:00\",\"description\":\"Adding logic to an online survey can seem super complicated and overwhelming. Let's clear up that myth. Here are some examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.questionpro.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Market Research\",\"item\":\"https:\/\/www.questionpro.com\/blog\/category\/market-research\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Simple Guide to Adding Logic to An Online Survey\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/#website\",\"url\":\"https:\/\/www.questionpro.com\/blog\/\",\"name\":\"QuestionPro\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.questionpro.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.questionpro.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/#organization\",\"name\":\"QuestionPro\",\"url\":\"https:\/\/www.questionpro.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2022\/10\/questionpro-logo.svg\",\"contentUrl\":\"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2022\/10\/questionpro-logo.svg\",\"caption\":\"QuestionPro\"},\"image\":{\"@id\":\"https:\/\/www.questionpro.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/questionpro\",\"https:\/\/twitter.com\/questionpro\",\"https:\/\/www.linkedin.com\/company\/questionpro\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/#\/schema\/person\/e14a135b182085c87cbbc4da0d0a3638\",\"name\":\"Santa Rimsevica\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.questionpro.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/961ff268e4e1b8ff275f7f4ef03b5983?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/961ff268e4e1b8ff275f7f4ef03b5983?s=96&d=mm&r=g\",\"caption\":\"Santa Rimsevica\"},\"description\":\"Customer Engagement Specialist for New Product and Service Development.\",\"url\":\"https:\/\/www.questionpro.com\/blog\/author\/santa\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Simple Guide to Adding Logic to An Online Survey | QuestionPro","description":"Adding logic to an online survey can seem super complicated and overwhelming. Let's clear up that myth. Here are some examples.","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.questionpro.com\/blog\/adding-logic-online-survey\/","og_locale":"en_US","og_type":"article","og_title":"Simple Guide to Adding Logic to An Online Survey | QuestionPro","og_description":"Adding logic to an online survey can seem super complicated and overwhelming. Let's clear up that myth. Here are some examples.","og_url":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/","og_site_name":"QuestionPro","article_publisher":"https:\/\/www.facebook.com\/questionpro","article_published_time":"2016-09-01T13:55:08+00:00","article_modified_time":"2024-05-09T05:35:20+00:00","og_image":[{"width":450,"height":300,"url":"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2016\/09\/bigstock-flow-chart-7856887-s-1280x853-450x300-2.jpg","type":"image\/jpeg"}],"author":"Santa Rimsevica","twitter_card":"summary_large_image","twitter_creator":"@questionpro","twitter_site":"@questionpro","twitter_misc":{"Written by":"Santa Rimsevica","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#article","isPartOf":{"@id":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/"},"author":{"name":"Santa Rimsevica","@id":"https:\/\/www.questionpro.com\/blog\/#\/schema\/person\/e14a135b182085c87cbbc4da0d0a3638"},"headline":"Simple Guide to Adding Logic to An Online Survey","datePublished":"2016-09-01T13:55:08+00:00","dateModified":"2024-05-09T05:35:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/"},"wordCount":818,"commentCount":0,"publisher":{"@id":"https:\/\/www.questionpro.com\/blog\/#organization"},"keywords":["Best Practice","Online Survey Design","Survey Logic"],"articleSection":["Market Research","Surveys"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/","url":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/","name":"Simple Guide to Adding Logic to An Online Survey | QuestionPro","isPartOf":{"@id":"https:\/\/www.questionpro.com\/blog\/#website"},"datePublished":"2016-09-01T13:55:08+00:00","dateModified":"2024-05-09T05:35:20+00:00","description":"Adding logic to an online survey can seem super complicated and overwhelming. Let's clear up that myth. Here are some examples.","breadcrumb":{"@id":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.questionpro.com\/blog\/adding-logic-online-survey\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.questionpro.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Market Research","item":"https:\/\/www.questionpro.com\/blog\/category\/market-research\/"},{"@type":"ListItem","position":3,"name":"Simple Guide to Adding Logic to An Online Survey"}]},{"@type":"WebSite","@id":"https:\/\/www.questionpro.com\/blog\/#website","url":"https:\/\/www.questionpro.com\/blog\/","name":"QuestionPro","description":"","publisher":{"@id":"https:\/\/www.questionpro.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.questionpro.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.questionpro.com\/blog\/#organization","name":"QuestionPro","url":"https:\/\/www.questionpro.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.questionpro.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2022\/10\/questionpro-logo.svg","contentUrl":"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2022\/10\/questionpro-logo.svg","caption":"QuestionPro"},"image":{"@id":"https:\/\/www.questionpro.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/questionpro","https:\/\/twitter.com\/questionpro","https:\/\/www.linkedin.com\/company\/questionpro\/"]},{"@type":"Person","@id":"https:\/\/www.questionpro.com\/blog\/#\/schema\/person\/e14a135b182085c87cbbc4da0d0a3638","name":"Santa Rimsevica","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.questionpro.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/961ff268e4e1b8ff275f7f4ef03b5983?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/961ff268e4e1b8ff275f7f4ef03b5983?s=96&d=mm&r=g","caption":"Santa Rimsevica"},"description":"Customer Engagement Specialist for New Product and Service Development.","url":"https:\/\/www.questionpro.com\/blog\/author\/santa\/"}]}},"featured_image_src":"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2016\/09\/bigstock-flow-chart-7856887-s-1280x853-450x300-2.jpg","featured_image_src_square":"https:\/\/www.questionpro.com\/blog\/wp-content\/uploads\/2016\/09\/bigstock-flow-chart-7856887-s-1280x853-450x300-2.jpg","author_info":{"display_name":"Santa Rimsevica","author_link":"https:\/\/www.questionpro.com\/blog\/author\/santa\/"},"_links":{"self":[{"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/posts\/12316"}],"collection":[{"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/users\/76"}],"replies":[{"embeddable":true,"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/comments?post=12316"}],"version-history":[{"count":7,"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/posts\/12316\/revisions"}],"predecessor-version":[{"id":864228,"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/posts\/12316\/revisions\/864228"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/media\/775674"}],"wp:attachment":[{"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/media?parent=12316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/categories?post=12316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.questionpro.com\/blog\/wp-json\/wp\/v2\/tags?post=12316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}