Skip to main content
Known Participant
August 25, 2022
Question

Add Popup text upon Quiz Question Submit

  • August 25, 2022
  • 2 replies
  • 804 views

Gentlefolk,

I am developing a quiz for which the requirement is that if a question is failed, then the correct answer is displayed along with an explanation of why the answer is correct and the other options incorrect.

 

The amount of text means that modifying the existing FAILURE messages won't be practical - mainly because the user will be given two chances to answer the quiz correctly. The first response must be then the "Incorrect, try again" message. 

 

The logic flow then would be:

Upon submit:

- if correct, proceed to next question

- if incorrect, display "try again"

- if second attempt incorrect, display explanatory information.

> Upon close of explanatory explantion block, goto next question

 

Or something along those lines.

 

I believe there is an Advanced Action that I could employ, but I don't see a "cpQuizInfo..." variable named to cover this situation. Do I exploit "cpQuizInfoPassFail" or some other variable?

 

Looking for ideas!!!

 

Thank you!

 

Don

 

 

 

    This topic has been closed for replies.

    2 replies

    Lilybiri
    Brainiac
    August 25, 2022

    You may use the quizzing system variable cpQuizInfoAnswerChoice. Here is a blog, which has been using that variable in a different context:

    http://blog.lilybiri.com/using-cpquizinfoanswerchoice-for-survey-conversion-from-swf-to-html

    If you want to learn more about the (read-only) quizzing system variables, have a look at:

    http://blog.lilybiri.com/using-quizzing-system-variables

    cpQuizInfoPassFail is only useful on the complete quiz level, is not related at all with individual question slides as you need. Same with cpQuizInfoAttempts.

     

    You could use two Failure messages, the first will be for the first attempt, the second for the Last attempt. Or you can use the Last Attempt action to show a text message which is previously hidden and where you use cpQuizInfoAnswerChoice.

    Known Participant
    August 25, 2022

    Oh, thank you!

     

    I have been playing with 

     

    cpQuizInfoMaxAttemptsOnCurrentQuestion

     

    and using that to toggle a text box and a "continue" button. This works fine for the first question, but fails on the second.... so the question 1 value seems to carry over to the second question and displays elements that should be hidden.

    Looking at your blog now, thank you again!

    Lilybiri
    Brainiac
    August 26, 2022

    Well, I didn't want to eliminate the Submit button, I just found that with the Advanced Action I was playing with, the quiz slide would not advance after the second submission attempt, but the scoring appeared to be working correctly. So the Continue button was a navigation function to get the quiz slide to move to the next.

     

    You have answered my questions, and I thank you! NOW I need to spend more time on your links to get more of a background on these functions. The Captivate files I have found are not particularly informative.


    What do you mean by "The Captivate files I have found are not particularly informative."? Are you talking about the 'official' Help documents? In that case know that I started my blog in 2009 because I was so frustrated about missing information in the offical Help. For a while Adobe asked me to moderate the Help by adding links to relevant external informatoin, but they abandoned that interesting idea after a couple of years. 

     

    Known Participant
    August 25, 2022

    Alternately, if I could have the FAIL jump to another slide, then return to the next quiz question, this could work also.