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

I need 2 failure messages to display on click boxes

New Here ,
Mar 07, 2018 Mar 07, 2018

I am created a software simulation in Captivate 8.  We use these for quizzes at the end of our courses.  We give users 2 attempts to click on the correct area of the screen before moving to the next slide.  I would like the first incorrect click to display a failure message that says "Try again" and the second incorrect click to display a different failure message that displays the correct answer or click and instructions to click to continue.

I have used the instructions I found on this post Want Different hint captions to appear , except for I have used a shared action on each slide. 

The problem I am having is that the shared action only works on the first slide I preview.  It doesn't matter which slide it is, as long as it's the first one I preview, it works.  However, any subsequent slide only displays the second failure message and not the first failure message.

I have quadruple checked that the shared action of each slide has been updated with the correct parameters and each object has a unique name.

Does anyone know what might be causing this issue?

Thanks a million!

Kat

P.S.  Once I get this part working, I am wondering if there is also a way to have the first failure message disappear after a certain period of time (similar to how the built in failure messages work.)

318
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 , Mar 07, 2018 Mar 07, 2018

Forgot to ask in the old thread: do you not have to reset variables when entering a new slide? To debug create a text container (shape or captinn), insert the variable(s) and display it for the rest of the project. That will show you if my suspicion is correct.

Use the On Enter event of each slide to trigger the command

  Assign v_attempt with 0

Translate
Community Expert ,
Mar 07, 2018 Mar 07, 2018

Forgot to ask in the old thread: do you not have to reset variables when entering a new slide? To debug create a text container (shape or captinn), insert the variable(s) and display it for the rest of the project. That will show you if my suspicion is correct.

Use the On Enter event of each slide to trigger the command

  Assign v_attempt with 0

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 ,
Mar 07, 2018 Mar 07, 2018

Thank you so much!  Assigning v_attempt with 0 on enter of each slide worked.   It was driving me crazy!

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 ,
Mar 07, 2018 Mar 07, 2018

Sorry, should have thought about it right away, but I'm combining too much tasks at this moment.

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 ,
Mar 07, 2018 Mar 07, 2018
LATEST

No worries!  I completely understand. 

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