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

Captivate Advanced Actions Issue

New Here ,
Sep 12, 2024 Sep 12, 2024

Copy link to clipboard

Copied

Please help. I am creating a conditional advanced action for two buttons. It's set up to hide a knowledge check (quiz) button until the two learning paths have been completed. I create the advanced action. and save it. The action and script saves. As soon as I hit the close button the variable selected for the increment command goes blank on both the IF and ELSE statements, which makes this advanced action unable to execute. Why does this keep happening. Is there something I am doing wrong or is there a bug in the conditional advanced actions?

Views

99

Translate

Translate

Report

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
Engaged ,
Sep 12, 2024 Sep 12, 2024

Copy link to clipboard

Copied

Hello !

I think you have to change either the name of the variable or  of the state object which have the same name ? (var_Product_Button)

😉

Votes

Translate

Translate

Report

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 ,
Sep 13, 2024 Sep 13, 2024

Copy link to clipboard

Copied

LATEST

I agree with Dirlo that you should never have an object and a variable use the same name.

 

However, I would also suggest that you use the Assign action and set the variable value to something that clearly indicates the visited status of the button.  Using the Increment action can sometimes cause you grief because there may be times when the variable value doesn't turn out as you expect.  

Votes

Translate

Translate

Report

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