Troubleshooting variables

I like to use variables to drive navigation in my courses - for example, having tasks that trigger variables when complete, send the learner to a 'well done' page.

Often I make a mistake in the variables so the navigation doesn't work as planned. I then have to go through all the variables to isolate the problem.

Has anyone developed a checklist or process to make this less painful and boring? How do others deal with checking variables?

4 Replies
Preston Ruddell

One thing I like to do is to use variable references in a text box.  I use this so I can monitor the behavior of my variables.  I only do this for the trouble shooting, and I delete this text box once I'm finished.  If the interaction involves multiple slides, then I paste this text box over each slide.   I've attached a demo of what I'm talking about.

In this file, the user must select both switches to enable the next button.  If the user unselects a button, then the next button is disabled again.  To make sure my variables are performing as expected, I have a text box on the slide that shows me what is going on "under the hood".

Hope this helps!