Skip to main content
Inspiring
December 4, 2015
Question

Countdown timer per Quiz question

  • December 4, 2015
  • 2 replies
  • 882 views

Hi,

I have a quiz (Captivate 9 - responsive) with a couple of questions and incorrect/correct feedback.

For every quiz question I am using the setting "Time limit" and Timeout Caption.

I want the users to see how much time remains for that question.

What have I done:

- I have added a textbox with a variable

- Via Javascript I can show the countdown time in this textbox.

The javascript starts 'On Enter' of the slide.

That works fine. Only problem: when the user clicks the submit button before the time limit, the countdown counter continues. It should pause. But the the actions under 'On Success' and 'Last attempt' only execute AFTER the user clicks on the Correct/Incorrect caption, so no effect adding Javascript there. I need to execute code WHEN the user clicks the Submit-button. But that isn't possible.

Any ideas?

(The built-in Hourglass interaction doesn't do it for me)

Thanks

Christophe

This topic has been closed for replies.

2 replies

Lilybiri
Legend
December 4, 2015

To skip first test of the Submit process, have a look at: Question Question Slides in Captivate - Captivate blog

RodWard
Community Expert
Community Expert
December 4, 2015

The only way to have the On Success or On Last Attempt events to fire immediately after clicking the Submit button is to disable the feedback captions.

CbreemAuthor
Inspiring
January 4, 2016

Hi Rodward,

Thank you.

When I don't use the default feedback captions, then I need to create custom feedback captions.

However, my questions are in a question pool. When I add a random queston slide, I can't seem to 'call' the custom feedback captions in an advanced or shared actions. I cannot select them in the parameters of my shared actions, so I cannot show them in case of 'On success'. Is that default behaviour or am I overlooking an option?

Kind regards,

Christophe

Lilybiri
Legend
January 4, 2016

This important information was left out of your original question. Tweaking like I explained in my blog post is not possible for question pools, sorry.