Skip to main content
Participating Frequently
Sep 12, 2024 3:12 PM UTC
Question

Captivate Advanced Actions Issue

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?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Dirlo
    Inspiring
    Sep 12, 2024 7:10 PM UTC

    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)

    😉

    Translate
    RodWard
    Community Expert
    Community Expert
    Sep 13, 2024 11:23 AM UTC

    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.  

    Translate