Changing the state of a button based on a variable

Jul 23, 2012

Hello Everyone:

I'm in need of help/ideas.  In my course, I have a slide that is used as the primary landing/navigation page that contains buttons, that when clicked the user jumps to the corresponding topical scene.  On the very last slide of each scene is an attestation slide in which I have placed a variable that prompts the learner for their name. 

On the navigation slide I have created added a slide trigger (Trigger1) that should change the state of the button to "Complete" when the appropriate variable changes.  Well, that didn't work.

So I then added a second variable to the attestation slide with a trigger.  The trigger adjusts the variable to true upon the user clicking the button which returns them to the navigation slide.  I then changed the Trigger1 to Change state of purp to completed when timeline starts on navigation slide on condition that puraff = true.

That didn't work either.

I've set both scenarios up for each button/topic area to no avail.

I'm stumped.  Any ideas?

5 Replies
Mike Enders

Hi Tamika,

I mocked up a quick example for you.  It could be any number of issues that are messing with your system.  Trigger order, for example is one such problem that can stump your approach.  Another might be the variable itself as you'll need to denote some change.  In my example, I basically said, change if the text variable isn't equal to ~~~!@@# (basically, some gibberish not likely to be input by the user).

Take a look at the attached file and let me know if this helps you out!

Mike

Mike Enders

Tamika,

I was just rereading your post again...

In your second example:

So I then added a second variable to the attestation slide with a trigger.  The trigger adjusts the variable to true upon the user clicking the button which returns them to the navigation slide.  I then changed the Trigger1 to Change state of purp to completed when timeline starts on navigation slide on condition that puraff = true.

Make sure that the trigger to adjust the variable comes before (on top of) the jump back to navigation slide trigger.  This may be why it wasn't working for you.

Mike

This discussion is closed. You can start a new discussion or contact Articulate Support.