Skip to main content
tracyt91983579
Participating Frequently
August 8, 2017
Answered

Problem with advanced action

  • August 8, 2017
  • 1 reply
  • 261 views

Hi everyone,

I'm trying to write an advanced action that will only show text boxes in a quiz when the quiz is in review mode.

I did the following:

  • Set up text boxes on the quiz question slides, hid them using the "eye" icon
  • On the quiz  results slide I set up an execute advanced action on slide entry
  • Set action type to conditional
  • Set Perform action if all conditions are true
  • Set actions to variable cpInReviewMode,  Set select comparison operator as “is equal to” and set literal as 1
  • set each line of action as show with the name of the text box (2 lines of action set up)
  • Set the “else” section so it “hides” each of the text boxes (2 lines set up)
  • When saved and viewed the first quiz slide works as expected in "live" and "review" mode (i.e text is hidden when quiz is being taken but visible when it is being reviewed, BUT the second quiz slide always shows the text that should be hidden, irrespective of whether the quiz is in or not in review mode

Any ideas what I am doing wrong?

This topic has been closed for replies.
Correct answer Lilybiri

I need some more information.

Which version do you use, it looks like it is not CP2017?

I suspect that you have a different set of Text on each quiz slide? That would mean they have another ID, and you should use shared actions in that case. The shared action has to be triggered On Enter for each quiz slide and the parameters set to point to the text on those slides.

1 reply

Lilybiri
LilybiriCorrect answer
Legend
August 8, 2017

I need some more information.

Which version do you use, it looks like it is not CP2017?

I suspect that you have a different set of Text on each quiz slide? That would mean they have another ID, and you should use shared actions in that case. The shared action has to be triggered On Enter for each quiz slide and the parameters set to point to the text on those slides.

tracyt91983579
Participating Frequently
August 8, 2017

Hi,

I'm using Version 9.0.2.437

tracyt91983579
Participating Frequently
August 8, 2017

Hi,

Just set it up using shared actions and it all works. Many thanks for help