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

Problem with advanced action

New Here ,
Aug 08, 2017 Aug 08, 2017

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?

203
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 , Aug 08, 2017 Aug 08, 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.

Translate
Community Expert ,
Aug 08, 2017 Aug 08, 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.

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 ,
Aug 08, 2017 Aug 08, 2017

Hi,

I'm using Version 9.0.2.437

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 ,
Aug 08, 2017 Aug 08, 2017

Hi,

Just set it up using shared actions and it all works. Many thanks for 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 ,
Aug 08, 2017 Aug 08, 2017
LATEST

Too few people ever use shared actions, which looked to be the solution in your typical use case.

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