Skip to main content
Participating Frequently
January 18, 2018
Question

Two quiz failure captions - advanced action?

  • January 18, 2018
  • 3 replies
  • 3147 views

Hi,

I have been trying to sort this issue out for the last few hours reading multiple threads. Found a similar thread from 5 years ago so was hoping there may be an update or you can advise on other options.

Essentially I need 3 quiz messages in quiz results screen:

1. You passed - hit Next

2. You failed - hit Retry button

3. You failed - hit next button (for when they have failed twice)

Seems as per thread from 5 years ago Captivate 9 still just has two text options, one for pass, one for fail. The old thread suggested removing these auto text boxes and replacing them with your own custom text box/shape and using advanced actions. Bingo, i thought that's the solution. But for the life of me I cant work out how to get the advanced action to show one of 3 boxes depending on the scenario.

I know how to get it to choose from 2 messages - e.g. you passed - show message 1, you failed once - show message 2....but cant work out how advanced action could have 3 possible scenarios.

Thanks

    This topic has been closed for replies.

    3 replies

    Jeremy Shimmerman
    Participating Frequently
    January 18, 2018

    You are correct in that you would need a custom text box.  Here's how I think I would handle this if I was using advanced actions.  

    1. Create your three textbox (for each of the 3 scenarios you listed)  - I'll use the ids t1, t2, t3

    2. Create your pass conditional statement

    IF cpInfoPassFail = 1 

    show t1,

    hide t2,

    hide t3

    3. Create your failed 1 attempt conditional 

    IF cpQuizInfoPassFail = 0 and

    IF cpQuizInfoAttempts = 1

    hide t1

    show t2

    hide t3

    4. Create conditional statement for two failed attempts

    IF cpQuizInfoPassFail = 0 and

    IF cpQuizInfoAttempts = 2

    hide t1

    hide t2

    show t3

     

    I think that would do it.  

    Lilybiri
    Legend
    January 18, 2018

    If it is indeed the score slide that is meant, I would prefer to use one shape as text container with multiple states. However you have to do several things to make it work:

    • Delete the Review messages under the button Suiz Result Messages in the Quiz Preferences, Settings
    • Make the Review area on the Score slide very small and put it out of the way (do not delete it)
    • You have to know that all embedded objects on the score slide (and quiz slides) have absolute priority in the stack. You will have to create your custom text container is a space that is not taken by  such an embedded object. Hence my second tip to make the review area small to create such space.

    Using states instead of individual feedback messages will allow you to have not only text but even images and audio in those states.

    You have to trigger the advanced action with the On Enter event of the score slide. SmartShape_5 is the multistate shape, Normal state is shown for Passed.

    @

    If you prefer the inidividual text containers as Jeremy described, please group them. It will be easier to write out the advanced action with the 3 decisions:

        HIde Gropu

        Show appropriate feedback

    That way you can duplicate the decisions and will have less editing to do.

    Participating Frequently
    January 19, 2018

    Thankyou - I think where I was lost was the fact you can use multiple decisions within the one Advanced Action - its something I haven't used before. I have tried both Justins and Lilybiri's advice, however, there is still a problem somewhere in my project that is the same for both solutions.

    If I go through and Pass quiz first attempt - I get Failed Once message

    If I go through and Fail Quiz first attempt - I get Failed Twice message

    If I go through fail the quiz and retry the quiz and fail a second time - i get failed twice message (correct)

    Here are my advanced actions for Lilybiri's solution:

    I'm executing the advanced action On Entry to the Quiz results slide. Perhaps something in my quiz settings?

    Lilybiri
    Legend
    January 18, 2018

    I'm sorry, but one sentence is puzzling me: "Essentially I need 3 quiz messages in quiz results screen"

    Rod's answer is for individual quiz slides, and I understand he answered that way because all the rest of the terminology you use is pointing to the individual quiz slides: 'Next' button was available on quiz slides (not any more since CP9) but on the score slide, it is labeled 'Continue'; 'Retry' button doesn't exist on the quiz slide (there is a Retry message), on the score slide you can have a 'Retake' button.

    Can you please confirm if you are talking about the Review messages on the results slide or about the Feedback messages on individual quiz slides?

    RodWard
    Community Expert
    Community Expert
    January 18, 2018

    Quiz question slides allow for only one Success caption, but up to three different failure levels, each of which will show a different feedback caption.

    Go to a quiz question slide and then in the Quiz tab settings, look in the Actions section under Failure Messages.  The default is 1 failure message (because the default setting for Attempts is 1), but if you change Attempts to 2, then you can change Failure Messages to 2 as well and this will give you two different captions that you can configure as you wish.  One will appear on the first unsuccessful attempt and the second one after the second unsuccessful attempt.  If Attempts is set to 2, then only two unsuccessful attempts are allowed before the ON Last Attempt action will be executed.

    samamara
    Known Participant
    February 21, 2021

    Hi Rod 🙂

     

    I'm sorry, I know this thread is a few years old but I can't find much else on this topic specifically and I need a bit of support. I am using Captivate 2019 and I am trying to do as you describe above. I have a sequence quiz slide set to three attempts and I've got the failure messages drop down set to 3. I am trying to customize the messages so that: 

     

    - on the first failed attempt the user sees "Sorry, that's incorrect. Try again. You have two more attempts."

    - on the second failed attempt the user sees "Sorry, that's incorrect. Try again. You have one more attempt."

    - on the final failed attempt the user sees "Incorrect. the correct answer is _______. Click to continue."

     

    The problem is I click on the  failure message drop down and choose 1. I customize the message, then go to the next one and do the same. I save the project and when I come back to the messages, the changes I made are not there. It has happened several times in the last hour and I've even restarted Captivate thinking it was some glitch. 

     

    Is customizing these messages not possible or is there something I'm doing wrong? Please let me know. Any help you can offer would be really appreciated!

     

    Thanks!

    Participant
    April 26, 2021

    Hi Rod,

    I too have a similar requirement. The customized failure messages are not getting saved. Instead the default messages appear and do not appear as per the Failure Messages selection. Please let me know how to go about this issue.

    Thanks!