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

Hide Object During Remediation (cpInQuizScope)

New Here ,
May 24, 2016 May 24, 2016

I have a quiz that allows a learner to return to a specific content slide when they miss a question.

On the content slide, however, there is a button I no longer want to be visible.  Is there a way the slide can check to see if the user is engaged in the quiz and if so, hide the object?  I see a variable called cpInQuizScope, but I'm not sure how it works.

Thanks,

John

144
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 ,
May 24, 2016 May 24, 2016

I don't know if that is the best system variable to use. How do you get on that content slide when not coming from a quiz slide? I was thinking about checking the cpInfoLastVisitedSlide value?

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 ,
May 24, 2016 May 24, 2016

You could reach the slide one of two ways.  It's a linear project, so if it was slide 5, you'd reach it from slide 4.  You could also reach slide 5 by clicking on the "Review" button I have set up just before taking the quiz.

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 ,
May 24, 2016 May 24, 2016
LATEST

If the user has just been doing a quiz question then at some point they must have entered the quiz scope.  While they are within the Quiz Scope the cpInQuizScope will be set to 1.  However, I'm not sure whether that variable remains set to 1 throughout all other slides AFTERwards.

So you could use the On Slide Enter event of the first quiz question to check the cpInQuizScope system variable and if it is set to 1 then set another User Variable to 1 and use that variable in a Conditional Action on your content slide to determine whether or not to hide the button

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