Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Hide quiz slides after max attempts?

New Here ,
Feb 17, 2017 Feb 17, 2017

Hello! I dug around the forums a bit and haven't found this question so I'm hoping it's an obvious answer I'm just missing!

I have a Cap8 HTML5 output with graded quizzes. Each multiple choice/matching question allows the user two attempts; each true/false questions allows the user one attempt. The questions are scattered throughout the presentation (user reviews a couples slides of info and is then quizzed on those slides, repeat.)

The issue is when testing my course on a live server I'm able to use the back/forward buttons to go back to quiz questions I've already answered/made all my allotted attempts. This causes me to get stuck on a quiz slide as the only button I have enabled is Submit and I've elected to hide the skin navigation on quiz slides.

I've tried messing around with Advanced Actions for my presentation nav buttons but I'm definitely doing something wrong because it's causing the course to immediately skip the quiz during a new session rather than the desired behavior of allowing me to take each quiz question (using at least one attempt) but preventing me from returning to those slides once I've used at least one attempt. I've enclosed screenshots of an example advanced action I created that's causing the quiz to be skipped entirely.

Anyone know how I can achieve this?? Thanks in advance!

246
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 17, 2017 Feb 17, 2017

You are confused by the system quizzing variable cpQuizInfoAttempts which tracks the number of attempts on quiz level, not on question level. From your explanation, you are talking about attempts on question level. There is no system variable which allows you to track it. You can only track it by creating and using user variables, one for each question slide. They could be Boolean variables, with an original value set to 0, and assigned to 1 when entering the slide, after checking the condition

...
Translate
Community Expert ,
Feb 17, 2017 Feb 17, 2017

You are confused by the system quizzing variable cpQuizInfoAttempts which tracks the number of attempts on quiz level, not on question level. From your explanation, you are talking about attempts on question level. There is no system variable which allows you to track it. You can only track it by creating and using user variables, one for each question slide. They could be Boolean variables, with an original value set to 0, and assigned to 1 when entering the slide, after checking the condition I would recommend a shared action, with the user variable being a parameter. Maybe something like this (sorry, no time to double-check):

On Enter for quiz slide:

    IF v_quest1 is equal to 1                   v_quest1 being a parameter

         Go to Next Slide

    ELSE

         Assign v_quest1 with 1

        Continue

BTW Maybe you could download my descriptive table with system variables:

System variables in Captivate 8/9 - Captivate blog

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 17, 2017 Feb 17, 2017

Thank you so much! I'm going to try this strategy and I'll keep you posted if it doesn't pan out. And THANK YOU so much for the link to the system variables guide! I was looking all over for something exactly like this!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 20, 2017 Feb 20, 2017

This worked perfectly. Thanks so much again for your help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 20, 2017 Feb 20, 2017
LATEST

You're welcome!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources