May 12, 2023
Resetting Custom Quiz Questions
Comments
(2)
May 12, 2023
Resetting Custom Quiz Questions
Newbie
Followers: 0 people
(2)

Hi everyone,

I recently followed a few Paul Wilson tutorials for some nice looking quiz questions which I am using in a responsive project. The in-built quiz slides do not look or resize nicely on smaller devices.

I am running into an issue where if the user has more than one attempt, the slides do not reset upon pressing the “Retake” button. In-built quiz slides do.

I used the cp.resetQuizData() function as suggested here but it doesn’t reset the slides themselves; they still have the feedback showing and question answered.

Follow up bonus question: is there somewhere that lists all in-built Captivate functions and what they do? I found out about the aforementioned one from a video, but it was not listed here for example.

Thanks!

2 Comments
2023-06-04 09:19:28
2023-06-04 09:19:28

I was the first to use the word ‘custom question’ over a decade ago on my blog.  Several of my workflows have been ‘re-described’ by other people, of course without pointing to the original source. If that would have been the case you would have seen my warnings about the features of default questions which are not available automatically in custom questions (and Drag&Drop slides used as questions). Those warnings rarely are added to passive video tutorials.

It is such a limitation you are bumping onto and will bump onto again whenever you are not replicating exactly the workflow in the video. In this case it is the lack of the Reset action which needs to be custom designed, and triggered by the On Enter action of the slide.

May I also warn that the JS function you are using can also cause problems if you are extending to multiple attempts. It is always better to use the InBuilt Quizzing features in most cases.

Sorry for this invitation: please look further than YouTube for advanced use of Captivate.

Like
2023-06-04 09:13:20
2023-06-04 09:13:20

When I used the word ‘custom question’ for the first time in my blog over a decade ago, I always insisted on explaining its advantages and disadvantages.  You bumped on one of the problems, which I always mention when describing a workflow for a custom question. Lot of my examples have been ‘redescribed’ by other experts, but often the warnings just get lost as happened here again.

For custom questions you have to design not only the question itself but also consider all possible situations which you want to be similar to the default question. BTW that is also the case for Drag&Drop questions which do not have all the features of the default question types. In this case it is the possibility for multiple attempts. You need to create an On Enter action which resets the slide in its original configuration. One of the reset actions in your case is hiding the feedback messages. You can avoid that by using a multistate object for the feedback, which has an empty normal state.

May I also warn against the use of the JS function beca

Like
Add Comment