6 Replies Latest reply: Sep 18, 2014 12:11 PM by amandallen1 RSS

    Help with conditional action in C8

    amandallen1 Community Member

      Okay, I'm trying to customize my Quiz Results screen because I don't like the default navigation for the Retake Quiz and Continue buttons. So, I created two buttons using Smart Shapes: one for Retake Quiz and one for Continue. I moved the default Continue button off the stage since you can't remove it from the slide.

       

      When when the learner sees the results, I want one of two things to happen. If they didn't pass the quiz (100%), I want only the Retake button to appear and for the Continue button, TOC, and playbar to be hidden. If they did pass the quiz, I only want them to see the Continue button and for the Retake button to be hidden.

       

      (A little background on why I'm doing this: I have quiz questions in two places in my project. The first set of questions are only meant for engagement and I've got them set to 0 points so if the learner misses them it doesn't matter. The other set of questions is actually a series of click boxes in which the learner has to complete certain tasks based on what they've learned. If I leave the default Retake Quiz button the results slide, Captivate will take the learner all the way back to the first set of questions since you can only have 1 quiz per project.)

       

      So, I set up a conditional advanced action to be executed On Enter for the Quiz Results slide. This is the first time I've tried this, and I must be missing something because when I publish the project the action isn't executing properly. It's only showing the Continue button no matter what the score. I can't figure out if I'm using the wrong variable or if I have the decisions set up wrong, or if I should be using the 'Else" section (I have no idea what Else is used for).

       

      Screen shots below.

      AdvancedAction1.PNG

      AdvancedAction2.PNG

      AdvancedAction3.PNG

        • 1. Re: Help with conditional action in C8
          Lilybiri CommunityMVP

          Sorry, didn't I answer in another thread about this? Do not deactivate the Continue button, it is essential for the functionality of the score slide, and that is what you are doing by dragging it off the stage. Same for Retake button. Why not hide one behind the other at least to solve part of the problem.

           

          I can be wrong, maybe it was another user. But I suggested to make the Continue button invisible to the user and put a mockup image on top of it to make it look like a button. And make that image visible.

           

          Secondly, you are using the wrong system variable IMO. cpQuizInfoQuizPassPercent is a static value, that you specify as criterion in the Quiz settings. Don't you need to use cpInfoPercentage?

           

          System variables in Captivate 6 - Captivate blog

          • 2. Re: Help with conditional action in C8
            amandallen1 Community Member

            I'm not sure Lily, but this is the first time I've asked about this in particular. I don't think hiding them behind each other would work. The default Continue and Retake Quiz buttons allow very little modification. I can't even choose an On Success action. All it does it continue or send the user back to the beginning of the quiz. I can't show/hide it or anything. If I put them on top of each other, they'll be just that.

             

            If I make the Continue button invisible and put an image on top of it, what will that do? The user will click on the image and nothing will happen.

             

            And to your last point, you were RIGHT! I was using the wrong variable.

             

            THANKS!!!!!

            • 3. Re: Help with conditional action in C8
              Lilybiri CommunityMVP

              So sorry, but I answered an almost identical question today, and having answered so many questions I'm sometimes confused.

               

              First practical tip: NEVER take away one of the objects that are embedded in a question slide or a score slide, unless you can make them disappear by unchecking an option. By embedding I mean that those object do not have a separate timeline in the timeline panel, which is the case for the Review button (can disappear when you do not allow Review), the Retake button (can disappear when you have only one attempt, and will automatically disappear after attempts) and the Continue button (cannot be unchecked because it is the click event on that button that triggers the Actions you specify in Quiz settings for Success, Failure).

               

              When I say 'invisible', I didn't mean invisible in output, but by changing fill and stroke for that button (and eventually its position). The user will not see it but it is still there and active. If you cover an interactive object like a button with an image, the button remains active. Hence my suggestion for a mock image that you make visible when attempts are exhausted.

               

              My first solution (in that other thread that I cannot find of course) was to drag the Continue button under the Retake button since that is the default stack order. When the user succeeds, the Retake button will not appear anymore and the Continue button is visible automatically. Seems lot easier, right? The only problem is when you want to allow Review. To avoid confusion between Retake and Review, I always will use the same work flow: drag Review under Retake. But Review will remain visible after Success of the quiz, you cannot have the three buttons in the same place. Hope this is now clarified? I have been blogging so much about question/score slides...now preparing a session for DevLearn and my problem is that I have only one hour to present.

              • 4. Re: Help with conditional action in C8
                amandallen1 Community Member

                Thanks for taking the time to respond Lily. As always, much appreciated! Adobe should be paying you.

                • 5. Re: Help with conditional action in C8
                  Lilybiri CommunityMVP

                  You do not know Adobe

                  • 6. Re: Help with conditional action in C8
                    amandallen1 Community Member

                    Lol. If it weren't for people like you, nobody would know how to use their products since their "Help" provides no assistance.