Skip to main content
Participating Frequently
November 16, 2012
Question

Restarting Quiz Question Numbers

  • November 16, 2012
  • 3 replies
  • 2231 views

I have multiple quizzes in my course. Captivate starts counting the quiz (Question) problems from the first quiz problem to the last. Consequently, if I have 5  practice problems on Slides 5-10 (for example), then content info and another set of practice problems on Slides 20-25, the second set continues the numbering from the first set ("Question 6 of 10"). Except it's not really because they are from 2 different topics.

So - to keep it short - I want to be able to restart the "Question" # for each quiz.

Thank you!

vb

This topic has been closed for replies.

3 replies

vbieniekAuthor
Participating Frequently
November 18, 2012

Thanks all. I was able to make a rudimentary function work using a combination of Lilybiri's approach and that of Dieter who commmented as a link from her detailed example (http://blncqrt.be/n). I needed Dieter's screen shots to be able to explicitly duplicate the script for the variable.

I found that I could not show for "rest of project" for all instances. Once I "hid" the actions "v_progress; Increment v_progress" I was not able to get them to activate again. For example:

1. On the first slide (not a quiz slide) where I DO NOT want the slide #, I set ON ENTER to "Hide" and HIDE to "slideNumber" - the name of the text caption. It wants an "ON EXIT" so I set that to "Go to next slide"

2. On the next quiz slide where I want to, again, start the numbering back at "1" I set ON ENTER to "Excecute...." and the script to "v_progress"

Using this approach I get no text caption with a number count for the subsequent slides.

What did work, however, was to manually COPY/PASTE the slide number text caption on the set of quiz slides that required re-numbering (staring back at one). So quiz questions Set One starts with "Question 1 of 5" and Set Two starts with "Question 1 of 10." (for example).

It would be beyond convenient to understand why the "Show for rest of project" isn't working (I'm assuming it's somewhere on the "ON EXIT") but I'll use this manual approach, for now. Until someone points me to a tailored fix, that it!

Appreciate the support,

~Val~

Lilybiri
Legend
November 19, 2012

Val,

I think you misunderstood some instructions. A text caption can be set to be visible for the rest of the project, even when it is sitting on a question slide. Why did you put this text caption on a slide before the first question slide? You'll only have to hide that caption after the question slides. If you have exactly the same amount of total numer of questions for each quiz part, you can show the caption again on the first slide of the second part of the quiz.

What do you mean by 'hid the actions v_progress, increment v_progress'? You cannot hide actions, so I do not understand what you mean here?

And please, avoid using the On Exit action for a slide! This action is only executed if the playhead reaches the last frame of a slide. If you have an interactive object that pauses and on release jumps to another slide, the On Exit action will never be done! Moreover the On Exit actions for Question slides are not available, because the two-step process for Question slides needs that action. You'll see on Question slides that On Exit is not available.

If you want me to help, you'll have to clear those questions for me.


Lilybiri

vbieniekAuthor
Participating Frequently
November 19, 2012

I agree I misunderstood the intent of hiding the caption and the function of "Hide" on the Actions menu. I will turn off the caption from the Timeline and update further if necessary.

Appreciate your support!

Lilybiri
Legend
November 17, 2012

This will not be possible with the default Quiz functionalities. You'll have to delete the Quiz Progress Indicator, and create a custom text caption in which you insert a user variable to keep track ot the question number.  You can either reuse the same user variable for each quiz, or create a user variable for each quiz.

In the first scenario, I'll label the variable v_progress.

  1. On entering the first question slide of each quiz, give this variable the value=1 on Entering the slide (you can use a simple action, in the Action accordion of the Slide Properties, On Enter, Assign, v_progress with 1)
  2. Add a Text Caption in which you insert that user variable and if you want also the total number of questions for that part, add that as a literal number. So the text caption will have a content looking like this:
            Question $$v_progress$$ of 5    (if you have 5 question slides in that part)
    Be sure to set this Caption to display for the Rest of the project
  3. On each question slide, except the first add a standard advanced action to the On Enter event for that slide. That action will be:
            Increment v_progress
  4. On the first slide after the questions of this part, use the On Enter Slide event to hide the text caption you created in 2.

This you'll have to repeat for each quiz part. If you have always the same amount of questions, you can simply Show that Text Caption again, in combination with the resetting of the user variable to 1. This means you'll need an Advanced action (standard) since you need two actions to be performed by the same event. If this sounds too difficult, or if you have another amount of questions in that part, do the 4 steps again.

Lilybiri

PS: in this blog post I had a similar approach http://lilybiri.posterous.com/customized-progress-indicator

Forgot, perhaps this post could be interesting for you as wel: http://lilybiri.posterous.com/intermediate-score-slides

Anjaneai_Srivastava
Adobe Employee
Adobe Employee
November 17, 2012

Hi VB,

By default, Captivate would count all questions under 1 single quiz, even though, you might have distributed them separately among several slides.

You can get a Absolute/Relative Numbering for your Question -- X of Y / Just X, you can switch that, rom Quiz Preferences -- Settings.

If you like you can add a similar caption and adjust the values to restart the counter. I will try to find, if an easier way can be established for this and let you know.

Thanks,

Anjaneai

Lilybiri
Legend
November 17, 2012

Anjaneai, really do not think there is an easy way, unless you put each quiz in a separate file

Perhaps some parts of my blog could be interesting, will avoid you to have to explain extensively answers to some questions. Just a suggestion,

Lieve