10 Replies Latest reply: Oct 11, 2011 6:16 AM by dougj17 RSS

    Possible to edit cpQuizInfoPassFail variable thru advanced actions?

    dougj17 Community Member

      Is it possible to edit cpQuizInfoPassFail variable thru advanced actions? I don't see this or the other quizzing variable when I try to create an advanced action and modify thru either assign or expression. Let me explain what I want to accomplish, as I may be asking the wrong question. I have a training project I need to include a post test with. I really dislike the captivate quizes. I want the post test to play like a round on jeopady where the user chooses questions from categories and gets points if the user answers correctly. To do this I have to put all the questions on a game board and (from what I can figue) you can't have multiple questions on the same page. I construct the quiz with my own custom variables and have coded it so that the program jumps to a certificate page if the user gets more than 84 points. All tha works fine. But I need to be able to tell the database the program will connect with that the user passed the quiz. I thought that I could do this if I can assign a value of 1 to the cpQuizInfoPassFail variable. Is there a way to do this? Thanks in advance for any help,

       

      Doug Jackson

        • 1. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
          RodWard CommunityMVP

          Like many of the other Info and quzzing variables in Captivate, cpQuizInfoPassFail is Read Only.  You cannot change it via Advanced Actions.

           

          Your better option is to set up your jeopardy questions using interactive objects that can be assigned a score that WILL be reported to the LMS.

           

          If you want to create complex interactions that utilize multiple interactive objects (such as buttons, clickboxes, text entry boxes, or interactive widgets) and tie them all together to generate a single score, you can use the Interactive Master widget: http://www.infosemantics.com.au/interactivemaster

          • 2. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
            Lilybiri CommunityMVP

            Hello Doug

             

            Rod will not mind my popping in, since it is about advanced actions

             

            Indeed, all Quizzing system variables are read only, if you do not want to use Javascript you cannot change scores at all.


            However, I have been blogging a lot about creating custom question slides with or without the use of widgets, using advanced actions. To have the system variables populated is possible using the way scores are automatically added if you have interactive objects that are setup that way. If I understand your case correctly, you could use the workaround I described in this blog post:

             

            Report custom questions - part 2

             

            Since you are only interested in passing the fail/pass, add two buttons at the end of the game (to continue or Next or something like that), originally hidden. One of the buttons will not have a score attached, the other a score that is sufficient to Pass. Using a conditional advanced action, you can show one of those buttons. The score will be added to the system variable cpQuizInfoPointsscored, and cpQuizInfoPassFail will be calculated based on the Quiz settings for Pass/Fail. Do you get the work flow?

             

            The Mastery widget is a great widget, but I do not know if you have constructed the jeopardy game on one slide? I have created a couple of games, will try ASAP to figure out how this widget can help but didn't find time yet. Here is the link to a blog post with a game:

            Concentration game

             

            Lilybiri

            • 3. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
              dougj17 Community Member

              Thanks so much for the feedback. Newbie question (where ever you go there you are), but how does one add an interactive object like a button or click box so that it will be assigned score that counts toward a quiz? I know how to set the conditional action to make a button appear or not, but am stuck on the more basic question of how to make an interactive object score points on a quiz if the object isn't part of captivate's standard quiz options. I know you are very busy, but would you be willing to look at my sample file?

               

              Doug

              • 4. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
                Lilybiri CommunityMVP

                Hi Doug,

                 

                I do not see the version you are using. Each interactive object can be scored, has a reporting accordino in the Properties Panel (if you are using CP5 or CP5.5) or a Reporting tab in the Properties dialog box if you are using another version. You have to add a score (default is normally 1 point), and check to add it to the Total score.

                 

                If you want me to have a look, post your file on acrobat.com (free, use your Adobe ID), share it and publish. You will have a link that you can copy in a private message to me.


                Lilybiri

                • 5. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
                  dougj17 Community Member

                  I apologize for forgetting to state I'm working in Captivate 5.0. I think I've come up with a solution, though it seems like the height of inelegance. I've inserted a true false question after the intro screen and moved the results page until after my  certificate screen. I used your suggestion of adding a button (Congratulations, You Passed) which only appears after the user has scored over 85 points. The button then adds 85 points to the quiz creating a pass situation. The certificate verfies (to me at least) that the process is causing cpQuizInfoPassFail to score 1. I've posted a link the current version below. Thanks for all your help, any further comments would be most welcome. This proof of concept exercise only has three questions and you have to get them all correct to win. The answers are "Fight, Flight, Freeze Response," "The Mid-Twenties," and "The Brain Stem." The intro page seems to hang after the user clicks on "Submit," which is highly irratating and I haven't even started on the logic for failing the quiz; but I think I've got a plan for that.

                  https://acrobat.com/#d=4iYO*r87Ci9HTVNnmq*Fsw

                  • 6. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
                    dougj17 Community Member

                    Thanks for the suggestion. I have info semanitics drop and drag widget and have put it to good use. I'll explore the interaction master widget.

                     

                    Doug

                    • 7. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
                      Lilybiri CommunityMVP

                      Hello,

                       

                      I do not have access to the link you provided, be sure not only to share but to publish the file as well. It is late over here, if you can provide me the link, will have a look tomorrow in the morning.

                       

                      Lilybiri

                      • 8. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
                        dougj17 Community Member

                        OK, I've published it. This is the first time I've done this, please let me know if this works!

                        • 9. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
                          Lilybiri CommunityMVP

                          Hi Doug,

                           

                          You did a fine job and learned how to publish, got your file

                           

                          About Submit button: the waiting time is due to the fact that your pausing point is a long time before the end of the slide. The easiest way to change this is to change the Action On Success for the TEB (Action accordion) from 'Continue' to 'Go to Next Slide'.

                           

                          I do not see the sense of the second, hidden slide, since it will not be included when published.  If you check the Advanced Interaction view (F9) you'll see that the 10pts attributed to this T/F question are not included at all. That is the meaning of hidden slides. I will use them to keep some comment in the file, or to have a poster inside the file that I use instead of the first slide for a published SWF that doesn't start automatically (have a lot of that kind in my blog posts).

                           

                          You wanted some tips, hope you will not be overwhelmed? Why do you use transparent buttons instead of click boxes? A click box is really a transparent button, but with its pausing point near the end (couple of frames before end) of its duration. It would have saved you a lot of time inserting CB's instead of the buttons, unless you'd have chosen the transparent button as default button style. Just a tip...

                           

                          For the board buttons: you use a combination of a rectangle, a text caption and a transparent button? I would create my own buttons so that you have the up/down/over effect of all the buttons, but that is up to you. More simple tip: you can type in a rectangle, just double-click on it and you can type, it will save you the separate text captions. And as I told, replace the transparent button by a click box. Using custom buttons or combination rectangle (with text) + click box, would have saved you some time for the initialising advanced action Jepboard.

                           

                          You did a lot of unnecessary work: the correct buttons on the question slides already have a score of 33points, that will be added to the system variable cpQuizInfoPointsscored. I understand that you are doing this to show the current score by populating your own variable ScoreLesson1 (this wouldn't be necessary in 5.5 but OK for 5.0). Would recommend, to avoid bugs and easier editing of the advanced actions to replace the exact number of points (33) by the Quizzing system variable cpQuizInfoPointsPerQuestionSlide, the Expression will then be:

                              Expression  ScoreLesson1 = ScoreLesson1 + cpQuizInfoPointsPerQuestionSlide

                          If you want different points for the questions, you only have to change the score in the Quiz Properties panel, not in the Advanced actions anymore.

                           

                          You tell me that to pass all the questions have to be correct, what is the meaning of the button with 85points then? Check Advanced Interaction view: scores mentioned there are:

                          • 33points for Q1 (attributed by the advanced actions)
                          • 33points for Q2
                          • 33points for Q3
                          • 85 points for button

                           

                          I think you misunderstood my tip about scoring on my blog: you'll need such a scored button only when you are constructing your question slides with static widgets because those cannot be scored at all! But you do use buttons (or hopefully click boxes in the future) that can be scored. So just throw that score on the button away.

                           

                          My intuition, being a woman, also tells me that you choose those strange scores of 33points to get as near as possible to a total of 100? Why not use the system variable cpInfoPercentage? This variable, like the cpQuizInfoPassFail is calculated from the user score and the maximum score cpQuizInfoTotalProjectPoints and is also visible on the default score slide.

                           

                          If all the questions have to be correct: change the passing score to 100% instead of default 85%.

                           

                          Will stop writing now, hope you are not mad at me....

                           

                          Lilybiri

                          • 10. Re: Possible to edit cpQuizInfoPassFail variable thru advanced actions?
                            dougj17 Community Member

                            Mad at you? Why would I be mad about getting so much useful feedback? Thank you very much! I've got a long day of writing reports, so won't be working on this project until later tonight. Just wanted to say thanks!

                             

                            Doug