{"id":771,"date":"2015-11-18T20:55:29","date_gmt":"2015-11-19T02:55:29","guid":{"rendered":"http:\/\/monkeylogic.us\/blog\/?p=771"},"modified":"2016-08-09T15:48:51","modified_gmt":"2016-08-09T20:48:51","slug":"requiring-answers-in-captivate-quizes","status":"publish","type":"post","link":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/","title":{"rendered":"Requiring (x) answers in Captivate quizzes"},"content":{"rendered":"<p>Adobe Captivate\u2019s multiple choice questions can either be a single answer or multiple answers. A limitation of multiple answers in quizzes is that you can\u2019t specify the number of answers you want the user to select. This tutorial shows how to get Captivate to count the number of answers selected and then display a message if correct amount is not selected.<\/p>\n<p><!--more. . . Continue reading--><\/p>\n<h3>HOW THE PROJECT IS SETUP<\/h3>\n<p>You can download the Captivate 9 project file for this post <a href=\"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/Captivate\/AnswerValidation\/AnswerValidation.zip\" target=\"_blank\">here<\/a>.<\/p>\n<p>The project contains 2 variables both set to a default value of 0.<\/p>\n<p><strong>v_ResponseMath<\/strong> keeps track of how many responses are selected.<\/p>\n<p><strong>v_ResponseVault<\/strong> stores the answers selected in the quiz.<\/p>\n<p>The project also has a single conditional advanced action, &#8220;ValidationAction,&#8221; which I\u2019ll discuss in the quiz slide setup.<\/p>\n<h3>SLIDE CONFIGURATIONS<\/h3>\n<p><strong>1 FIRST SLIDE<\/strong><br \/>\nContains a single button that jumps directly to the quiz slide.<\/p>\n<p><strong>2 &#8211;REMEDIATION SLIDE&#8211;<\/strong><br \/>\nThe slide is set to a duration of 0.1 seconds and the On Exit action is set to \u201cReturn to Quiz.\u201d (I only add the double hyphens in the slide name so I know to uncheck this slide in the Table of Contents so it won\u2019t appear to the end user if I\u2019m publishing with the Table of Contents visible.)<\/p>\n<p><strong>3 QUIZ SLIDE<\/strong><br \/>\nThis is a multiple-choice slide that has 6 answers and is asking the user to select the 4 fastest animals. The slide also has a smart shape, \u201cErrorMessage,\u201d which is set to be not visible in output and contains text informing the user how many answers they\u2019ve selected, via the variable v_ResponseMath, and how many answers they need to select.<\/p>\n<div id=\"attachment_776\" style=\"width: 510px\" class=\"wp-caption alignnone\"><a name=\"imageclose-772\"><div class=\"lb-album\"><a href=\"#image-772\"><img src=\"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/01quizSlide-500x374.png\" alt=\"01quizSlide\" class=\"wp-image-776 size-post-images\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-772\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-772\">\r\n                   <img src=\"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/01quizSlide.png\" alt=\"image-772\">\r\n                   <\/div><\/a><p id=\"caption-attachment-776\" class=\"wp-caption-text\">Only 2 of these animals are considered slow. (Click for larger image)<\/p><\/div>\n<p>The On Success and Last Attempt actions for the quiz slide are set to the same Conditional Advanced Action, \u201cValidationAction.\u201d The first decision of the action uses the IF statement \u201c1 is equal to 1\u201d so that the action triggers and the first step of the action assigns the v_ResponseMath variable with 0. The decisions that follow will then increment this variable so it\u2019s necessary include this as the first step to reset the variable each time the advanced action is run so it always starts from 0. The second step of the action assigns v_ResponseVault with all the answers that were selected.<\/p>\n<p>The next six decisions are relatively identical and calculate how many responses were selected. <span data-rel=\"content\">The IF statement for each decision looks at v_ResponseValue to see if it contains a number, which corresponds to each individual answer the user selected, that was assigned during the first decision.<\/span> If the number exists in the variable it increments v_ResponseMath by 1. (I\u2019m using numbers in each of these decisions because the Quiz numbering is set to none. If it\u2019s set to alphabetical numbering then the validation for these decisions would need to be letters instead of numbers.)<\/p>\n<p>After all 6 Response decisions are executed, the last decision, named &#8220;AnswerValidation,&#8221; looks to see if v_ResponseMath is not equal to 4. If the variable is anything but 4, the action will show the smart shape \u201cErrorMessage\u201d and sends the user to the remediation slide. Because the remediation slide\u2019s Exit action is set to return to quiz, the user is sent right back to this quiz slide which allows them to change their answers.<\/p>\n<p>This is also the only decision which has anything under the ELSE part. Should the v_ResponseMath be equal to 4, the ELSE decision hides the smart shape, should it have already been shown because the user didn&#8217;t selecte the correct number of answers at least once, and then continues the project.<\/p>\n<div id=\"attachment_777\" style=\"width: 371px\" class=\"wp-caption alignnone\"><a name=\"imageclose-773\"><div class=\"lb-album\"><a href=\"#image-773\"><img src=\"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/02responseAction.png\" alt=\"Decisions 2-5 are collapsed as they' class=\"size-full wp-image-777\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-773\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-773\">\r\n                   <img src=\"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/02responseAction.png\" alt=\"image-773\">\r\n                   <\/div><\/a><p id=\"caption-attachment-777\" class=\"wp-caption-text\">Decisions 2-5 are collapsed as they&#8217;re all similar.<\/p><\/div>\n<h3>LAST THOUGHTS<\/h3>\n<p>Because quiz slides will always place the quiz content above anything else on the slide, you may need to adjust the size of the answer captions as well as the outer container for all the answers. Otherwise, the error message would be behind the quiz answers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to validate the number of multiple-choice answers in Captivate quizzes.<\/p>\n","protected":false},"author":1,"featured_media":788,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,18],"tags":[],"class_list":["post-771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adobe","category-captivate"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Requiring (x) answers in Captivate quizzes - monkeylogic blog<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to validate the number of multiple-choice answers in Captivate quizzes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Requiring (x) answers in Captivate quizzes - monkeylogic blog\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to validate the number of multiple-choice answers in Captivate quizzes.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/\" \/>\n<meta property=\"og:site_name\" content=\"monkeylogic blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MonkeylogicDesign\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-19T02:55:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-08-09T20:48:51+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/headerAnswerValidation.png\" \/>\n\t<meta property=\"og:image:width\" content=\"570\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Michael (the head monkey)\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael (the head monkey)\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/\"},\"author\":{\"name\":\"Michael (the head monkey)\",\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/#\\\/schema\\\/person\\\/4d39347fa8dbfebec314b0a130b26aa1\"},\"headline\":\"Requiring (x) answers in Captivate quizzes\",\"datePublished\":\"2015-11-19T02:55:29+00:00\",\"dateModified\":\"2016-08-09T20:48:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/\"},\"wordCount\":680,\"commentCount\":0,\"image\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/headerAnswerValidation.png\",\"articleSection\":[\"Adobe\",\"Captivate\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/\",\"url\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/\",\"name\":\"Requiring (x) answers in Captivate quizzes - monkeylogic blog\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/headerAnswerValidation.png\",\"datePublished\":\"2015-11-19T02:55:29+00:00\",\"dateModified\":\"2016-08-09T20:48:51+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/#\\\/schema\\\/person\\\/4d39347fa8dbfebec314b0a130b26aa1\"},\"description\":\"This tutorial will show you how to validate the number of multiple-choice answers in Captivate quizzes.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#primaryimage\",\"url\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/headerAnswerValidation.png\",\"contentUrl\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/headerAnswerValidation.png\",\"width\":570,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/requiring-answers-in-captivate-quizes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Requiring (x) answers in Captivate quizzes\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/\",\"name\":\"monkeylogic blog\",\"description\":\"Out of Register\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/#\\\/schema\\\/person\\\/4d39347fa8dbfebec314b0a130b26aa1\",\"name\":\"Michael (the head monkey)\",\"sameAs\":[\"http:\\\/\\\/www.monkeylogic.us\"],\"url\":\"http:\\\/\\\/monkeylogic.us\\\/blog\\\/author\\\/head-monkey\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Requiring (x) answers in Captivate quizzes - monkeylogic blog","description":"This tutorial will show you how to validate the number of multiple-choice answers in Captivate quizzes.","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":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/","og_locale":"en_US","og_type":"article","og_title":"Requiring (x) answers in Captivate quizzes - monkeylogic blog","og_description":"This tutorial will show you how to validate the number of multiple-choice answers in Captivate quizzes.","og_url":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/","og_site_name":"monkeylogic blog","article_publisher":"https:\/\/www.facebook.com\/MonkeylogicDesign","article_published_time":"2015-11-19T02:55:29+00:00","article_modified_time":"2016-08-09T20:48:51+00:00","og_image":[{"width":570,"height":200,"url":"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/headerAnswerValidation.png","type":"image\/png"}],"author":"Michael (the head monkey)","twitter_misc":{"Written by":"Michael (the head monkey)","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#article","isPartOf":{"@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/"},"author":{"name":"Michael (the head monkey)","@id":"http:\/\/monkeylogic.us\/blog\/#\/schema\/person\/4d39347fa8dbfebec314b0a130b26aa1"},"headline":"Requiring (x) answers in Captivate quizzes","datePublished":"2015-11-19T02:55:29+00:00","dateModified":"2016-08-09T20:48:51+00:00","mainEntityOfPage":{"@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/"},"wordCount":680,"commentCount":0,"image":{"@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#primaryimage"},"thumbnailUrl":"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/headerAnswerValidation.png","articleSection":["Adobe","Captivate"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/","url":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/","name":"Requiring (x) answers in Captivate quizzes - monkeylogic blog","isPartOf":{"@id":"http:\/\/monkeylogic.us\/blog\/#website"},"primaryImageOfPage":{"@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#primaryimage"},"image":{"@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#primaryimage"},"thumbnailUrl":"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/headerAnswerValidation.png","datePublished":"2015-11-19T02:55:29+00:00","dateModified":"2016-08-09T20:48:51+00:00","author":{"@id":"http:\/\/monkeylogic.us\/blog\/#\/schema\/person\/4d39347fa8dbfebec314b0a130b26aa1"},"description":"This tutorial will show you how to validate the number of multiple-choice answers in Captivate quizzes.","breadcrumb":{"@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#primaryimage","url":"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/headerAnswerValidation.png","contentUrl":"http:\/\/monkeylogic.us\/blog\/wp-content\/uploads\/2015\/11\/headerAnswerValidation.png","width":570,"height":200},{"@type":"BreadcrumbList","@id":"http:\/\/monkeylogic.us\/blog\/requiring-answers-in-captivate-quizes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/monkeylogic.us\/blog\/"},{"@type":"ListItem","position":2,"name":"Requiring (x) answers in Captivate quizzes"}]},{"@type":"WebSite","@id":"http:\/\/monkeylogic.us\/blog\/#website","url":"http:\/\/monkeylogic.us\/blog\/","name":"monkeylogic blog","description":"Out of Register","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/monkeylogic.us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/monkeylogic.us\/blog\/#\/schema\/person\/4d39347fa8dbfebec314b0a130b26aa1","name":"Michael (the head monkey)","sameAs":["http:\/\/www.monkeylogic.us"],"url":"http:\/\/monkeylogic.us\/blog\/author\/head-monkey\/"}]}},"_links":{"self":[{"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/posts\/771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/comments?post=771"}],"version-history":[{"count":15,"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/posts\/771\/revisions"}],"predecessor-version":[{"id":901,"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/posts\/771\/revisions\/901"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/media\/788"}],"wp:attachment":[{"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/media?parent=771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/categories?post=771"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/monkeylogic.us\/blog\/wp-json\/wp\/v2\/tags?post=771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}