Copy link to clipboard
Copied
Hi, in a results slide, I set a button with an advanced action that resets the quiz and jumps to certain slide (I used a javascript line suggested by Paul Wilson).
The problem is that when testing in ScormCloud, in a second and subsequent attempts, the result slide shows "zero", even when I did all the quiz correctly (it should show the score of 20 and the aprroved statrus). Any suggestion?
You have infinite attempts on quiz level.
Why make it so complicated. Get the Continue button back and define the Success action in Quiz Preferences instead of using the On Enter event for an advanced action.
You can tweak the functionality of the Retake button if you don't want to jump to the first quiz slide, by using the On Enter event of the first quiz slide and use this advanced action:
IF cpQuizInfoAttempts is greater than 1
Jump to slide X
ELSE
Continue
You can always edit the
...You need the correct index number of the results slide. You can identify it by inserting the system variable cpInfoCurrentSlide on the results slide in a text container. Previewing in Browser will show you the correct index number.
Copy link to clipboard
Copied
You are not the first to have issues with that same JS solution. Why do you not use the included functionality which means that you reset all answers by clicking the Retake button on the Results slide. Moreover I see that there is no Continue (I don't know how it has been translated in your version) button which is the most important button on the Results slide to have its full functionality.
What do you want exactly on that Results slide? It is always better to use the inbuilt functionality and I probably could help you set it up.
How many attempts do you have on Quiz level? Do you have any action On Enter for the Results slide? Which actions did you specify in Quiz Preferences, Pass/fail?
Copy link to clipboard
Copied
Thank you. I´d like that the Retake button resets the quiz and jumps to a specific slide (the one the beggins the Try Me mode). I understand that the inbuilt Reset button doesn´t allow more actions than reset and jump to the quizz beggining, so the Results slide has an advanced action on enter: if the user passed (100% correct, as my client wants), show a custom button to advance to the closing slide. If the user fails (even one error means failing), show another custom button that resets the quizz and jumps to slide 29, where the Try Me mode beggins.
Certainly the inbuilt Reset button wass missing, and the inbuilt Continue buton was present but outside the slide.
Now: I changed this parameter to 100% (it was 80%)
I did a try and it worked for me, but I´m testing wiyh other users to check if it works for them too.
Copy link to clipboard
Copied
You have infinite attempts on quiz level.
Why make it so complicated. Get the Continue button back and define the Success action in Quiz Preferences instead of using the On Enter event for an advanced action.
You can tweak the functionality of the Retake button if you don't want to jump to the first quiz slide, by using the On Enter event of the first quiz slide and use this advanced action:
IF cpQuizInfoAttempts is greater than 1
Jump to slide X
ELSE
Continue
You can always edit the label of any button, but do not just delete them or move them out of the slide.
Have a look at this blog post:
Quiz Tweaks 5: Results slide - eLearning (adobe.com)
In most consultancy jobs I had to solve issues with quizzes, and believe me I do know in-depth what is built in as Quiz functionality. JS is not always the solution although it seems 'easy'.
Copy link to clipboard
Copied
Thank you again. I tested my solution with three other users in ScormCloud and it works fine so far. But I appreciate your suggestions, I´ll make more tests with them since they are more reliable.
Ah, one question: you mentioned the infinite attempts, Is that another variable to consider?
Copy link to clipboard
Copied
Great! You're welcome, may have seen that I try to use the embedded features as much as possible and only go to JS for workflows which are impossible with those features.
Copy link to clipboard
Copied
Hi Lieve, I set that advanced action On Enter of Slide 53 (the first question of the quiz) to jump to slide 52 (the Intro to the quiz). The problem is that when navigating normally with my custom navigation buttons, it jumps back immediately to my slide 52 Intro, so I can´t advance. Which logic am I missing?
Copy link to clipboard
Copied
That solution was meant to be used with the Retake button. It is always dangerous to allow all navigation when having quiz slides, due to the fact that answers are frozen when you are navigating within a Quiz Scope during an Attempt on quiz level. Same would happen if you allow free navigation before using Reset by JS.
You are not missing a logic, you are bumping on the default setup of Quiz slides: once the attempts on question level are exhausted or the learner leaves a question slide the answer is frozen. Since in a normal setup you don't have a Next nor Back button on a quiz slide they will be stuck. It is the mean reason why it is a good idea to use the Hide Playbar option in Quiz Preferences.
You are using custom navigation buttons. That is great, and I suppose they are not on question slides.
You could change the action to protect you from having the jump if you are not getting on slide 53 from the Results slide, by using AND
cpInfoLastVisitedSlide is equal to .... give the index number of the results slide, index starts with 1
Copy link to clipboard
Copied
Hi, Lieve; it didn´t work. I see that the results slide (#74) is not included in the index.
I had hidden several slides, Is that a factor to consider in the index numbering?
Copy link to clipboard
Copied
You need the correct index number of the results slide. You can identify it by inserting the system variable cpInfoCurrentSlide on the results slide in a text container. Previewing in Browser will show you the correct index number.
Copy link to clipboard
Copied
It works now. It´s great that the magicians of Captivate (you, Paul, Rod) are always willing to help us. Thanks!