Web object slide (survey slide): Exit course with user clicks button only if timeline has ended.

Mar 30, 2021

I'm struggling with how to set this variable up (if one is needed). I have a pre-survey users need to complete on a learning path prior to taking completing a learning module. I'm using a web object (link to 3rd party survey) inserted into a slide. I just simply want a button to be active only after 45 seconds and then that button to trigger a course completion and exit course. 

Not sure how to do a variable for this. Assistance is appreciated. 

1 Reply
Joseph Francis

Well, you COULD always insert an Exit button, drag it to display at 45 seconds on the timeline, and call it good. 🙄

Give the attached a spin instead.

The [Exit] button's initial state is Disabled, and the color reflects that. You could just as easily set its initial state to Hidden.

The Timer Box moves on a linear path which is 1 second in duration. When it gets to the end of the path, it recycles, starting over at the top. I have it visible on the slide for the demo; you can move it off-screen since the Origin is set to Unlocked.

The numeric variable numSeconds is the key. Initially set to 0, it increments by one every time the animation completes, as long as numSeconds is greater than or equal to 0. I have numSeconds displayed on-screen so you can see it incrementing; feel free to move that off-screen as well.

When numSeconds is greater than or equal to 45, the state of the [Exit] button is changed to Normal.