Skip to main content
Participant
August 18, 2017
Question

Printing off a list of questions and answered on Captivate 9.

  • August 18, 2017
  • 3 replies
  • 778 views

How can users print off a list of questions they answered with their answers? I have created a quiz which consists of 10 random pool questions. I'm struggling to see how I can add a button which allows users to see and print off the questions they answered and their result (correct/incorrect). I am very new to creating E-Learning modules and Captivate 9. I have to have this in place to see how users are imputing their answers. 

    This topic has been closed for replies.

    3 replies

    papaintegrator
    Inspiring
    August 18, 2017

    Hi Vittoria,

    As suggested by Lilybiri above, you can use already available variable cpQuizInfoAnswerChoice to capture the answer choices on the slides and handle it using other action within Captivate to print on a result page using a button; this would be quite a task however. Wish you luck there!

    Let me know if you face challenges doing it, I can help to break it down in pieces. Secondly, if at all you need it done using JavaScript, I can come up with some code to do it. Just say it!

    /best

    Participant
    August 21, 2017

    Hi

     

    That will be really useful if you could. Thank you for your help!

    Lilybiri
    Legend
    August 18, 2017

    It could be done for normal question slides (posted the work flow already a couple of times on the forum), but random questions are a lot more difficult to handle, because they don't have an On Enter event to trigger advanced actions. Idea would be to use the content of the system variables cpQuizInfoAnswerChoice and cpQuizInfoLastSlidePointScored.

    It probably can be done with JavaScript, at least if your output will be HTML5.

    Participant
    August 21, 2017

    Thank you for you help. Is there a step by step guide showing how to do this on line? I'm very new to Captivate and I've never used variables before.

    Lilybiri
    Legend
    August 21, 2017

    Although I have plenty of tutorials on my blog, not that specific one. If you are new to variables and advanced/shared actions this may be a bridge too far at this moment. I am planning to update most of my blog posts in a near future, and/or compiling them into short ebooks but this very old one has still some valid information:

    Curious about Variables in Captivate? - Captivate blog

    On Quiz slides the On Exit event is not available to trigger an action. Have a look at:

    Events and (advanced) Actions - Captivate blog

    This means you'll have to use the On Enter action of the following slide to store the content of cpQuizInfoAnswerChoice in a user variable with the Assign command, before the value is replaced in that following slide. However you have to know that the value is only the number/character of the chosen answer (A, B....). Maybe you'll have to translate it to the full answer with another command.

    Paul Wilson CTDP
    Community Expert
    Community Expert
    August 18, 2017

    There is no feature built in to Captivate that would allow this. I wouldn't encourage this as this would allow users to easily share their answers with other users and cheat the system.

    Paul Wilson, CTDP
    Participant
    August 21, 2017

    Hi Paul

    Thank you for email. The module would be completed in test conditions to avoid this happening. 

    P.S. Your Youtube tutorials are great!