Variable and Trigger Problem

Feb 07, 2014

I'm making a course that will be taken domestically and internationally, and as a result will need different units of measurement. To keep the course looking clean, I'm using a variable and state changes so that the user will select their preferred unit of measurement and will then only see that measurement system (imperial/metric). It worked perfectly on one course, but now it won't work on another. 

I have a text variable called "Units" that is set to "Imperial" or "Metric" depending on what button the user clicks in the beginning. After that, the slides with measurements have a "Metric" state, where the text boxes simply have different measurements to match the variable. There is a trigger to change the state of the text boxes to "Metric" when the timeline starts if "Units" is equal to "Metric". But the state changes have not been working. Anyone know why that might be happening?

I also have triggers on a few slides to prevent the user from skipping through before the timeline is complete. Could that be causing an issue?

12 Replies
Kelly Schultze

New development! But not really that great. I now can get the Metric states of the text boxes and everything, but I can't get the normal state, which has the Imperial (US) measurement. The text boxes either don't show up at all, or they have both layers showing at once so it looks jumbled and messy. I honestly have no idea what the problem is right now.

Garth Yorko

I create a numeric variable (UOM) to contol the states

It is initially set to zero

If the user selects Imperial, the variable is set to 1

If the user selects Metric, the varaible is set to 2

Then the measuements are text boxes

The initial state is hidden

I created an imperial state and a metric state

The slide with the measurements has triggers to change the state to imperial when the timeline starts if the UOM varaible is equal to 1

It has another trigger to change the state to metric if the UOM variable is equal to 2

See the attached file

Kelly Schultze

I don't think it's the variable that is the problem. It worked perfectly in another course, and some of the slides in the course I'm working on now are working just fine. It's really just two slides that seem to have issues with the state change, and I'm not sure how to fix it. At first I thought it might be too many triggers on one slide, but then I realized that the problem slides have no other triggers aside from the state change and going to the next slide.

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