Skip to main content
Participant
February 11, 2019
Question

How to get a report or list of only the questions the learner got incorrect?

  • February 11, 2019
  • 3 replies
  • 203 views

Is there a way to use javascript or something to show me what questions the learner got wrong? That is all the only information I need and it is important. I have all the questions variables named. Scorm 2004 was an option but when published in the LMS the course LAGGED way too much that it hinders the learners because this course is application input and they type fast. I know the information is retrievable because the system knows if they got the answer right or wrong so is there a way to list the items they got wrong?  Hoping there is an answer somewhere.

    This topic has been closed for replies.

    3 replies

    TLCMediaDesign
    Inspiring
    February 12, 2019

    if you put this script onEnter of each quiz you can populate you variable with true or whatever you want. The part of the code where to enter your variable is bolded.

    window.cpAPIEventEmitter.addEventListener( 'CPAPI_QUESTIONSUBMIT', interactionFunction, false );

    function interactionFunction( e )

    {

    if ( e.Data.questionAnsweredCorrectly === true )

    {

    window.cpAPIEventEmitter.removeEventListener( 'CPAPI_QUESTIONSUBMIT', interactionFunction, false );

    window.yourVariable = true;

    }

    }

    RodWard
    Community Expert
    Community Expert
    February 11, 2019

    As you said, all of the information gets transmitted to the LMS (if you have specified it to be reported in the Quiz settings in Captivate).

    AFTER that point. whether or not you can get meaningful reports about which questions were answered correctly or incorrectly is dependent entirely on what reporting options your LMS gives you.  The data is all in the LMS database, but most LMSs only have very basic reporting, focused more on pass/fail and completion statistics.

    If you want more granular reporting, you may need to hire a programmer capable of writing the necessary SQL code to generate custom reports.

    Lilybiri
    Legend
    February 11, 2019

    What would you want to do with the knowledge of which questions have been answered wrongly? To identify them is not a problem (with advanced actions) as you can read in this older post:

    Limit Review to Incorrect Answers (Captivate 6) - Captivate blog