Skip to main content
3dward66
Inspiring
March 30, 2017
Question

CP9: weird behavior with branching using advanced options

  • March 30, 2017
  • 2 replies
  • 557 views

I've done a search for this but was not able to find the answer.

Captivate 9.0.2.437

Window 7 64-bit

For multiple-choice questions (MCQs), I create branching using the Advanced Answer Option. When the learner clicks an incorrect choice, a shared action is triggered that increment the user variable MaxAttempts by 1 and take the learner to a corresponding remediation slide. The learner clicks the Continue button on a remediation slide to return to the quiz question if MaxAttempts is less than 2; learner is taken to the next slide if MaxAttempts is not less than 2. The number of attempts in the Quiz properties for the MCQ slide is 2, so if they answer incorrectly twice, when they click Continue on the remediation slide, they'll get the question scored as incorrect and move on.

This works well with the first MCQ if there are multiple, or when there is only one MCQ. However, things get hairy if there are more than one. I have tried to reset MaxAttempts to 0 using the Assign action (Assign MaxAttempts with 0) but this does not work, so I think Captivate is not resetting it to 0...?

Also, for the final MCQ, I have it jumping to the Quiz Results slide On success or after the last attempt, but it does not do it; instead it jumps to the slide after the Results slide. Any suggestions?

This topic has been closed for replies.

2 replies

3dward66
3dward66Author
Inspiring
March 30, 2017

I've also tried using the Return to Quiz action on the Continue button on the remediation slides instead of the shared action. It successfully returns me to the MCQ, but it is giving the learner infinite attempts even though I have the No. of Attempts in the Quiz properties pane of the MCQ set to 2.

RodWard
Community Expert
Community Expert
March 31, 2017

Yes that is exactly how the Return to Quiz function currently works.

However, you can use the ON Slide ENTER event of the quiz question with a Conditional Action that looks at your MaxAttempts variable and if it's OK allow them to continue on that slide or ELSE jump to the next slide.

That would be a better solution than what you are trying to do with hard coding the remediation slide buttons to jump to specific slides.

3dward66
3dward66Author
Inspiring
March 31, 2017

Thanks, Rod. I tried changing the On Enter action to jump to the next slide if MaxAttempts is 2, but it does not jump.

I am abandoning this technique as I'm spending too much time, and was hoping to go back to the Advanced Answer Option with feedback, hoping this would be a simpler process, but it is turning out not to be. I will ask about that in a more appropriate forum.

RodWard
Community Expert
Community Expert
March 30, 2017

You mention you are not able to reassign the MaxAttempts user variable back to 0.

How are you executing that Assign action?  At what point and with what event?

3dward66
3dward66Author
Inspiring
March 30, 2017

Thanks for the quick reply, Rod.

In the Quiz pane properties of the MCQ I have a shared action set to run on success and after the last attempt. One of the actions is to assign MaxAtt to 0.

RodWard
Community Expert
Community Expert
March 30, 2017

Can you show us a screenshot of what this Shared Action looks like?  Is it the same Shared Action regardless of whether ON Success or ON Last Attempt?