Textbox: to show value of a variable

Mar 05, 2013

Is it possible -through a trigger- to replace wahtever it is in a text box for the value of some given variable?

16 Replies
Javier Mosquera

Hi. Becca, what I ment was this:

I have created "variable1", which value is equal to 0. I've put a blue button that adds +1 to that variable; an empty textbox wich is supposed to show the value of the variable, but I don't know how to do it; and finally, a green button, wich has no trigger yet, be cause I don't know what trigger to give to it, but the idea was to change the value of the variable with the blue button, and then refresh the text box with the new value, using the green button.

Geert, I tryed with %variable1% and it works. As you mentioned: it changes automatically. No need for me to press the green button. So, that's cool. Thanks.

Sam Hernandez

Hi all. I have a similar question. So, I have a set of options that can be selected on the first slide, topics 1-6, which dictates which set of questions they will get. I want the results slide to show which topic they selected on the first slide. I know on the results slide simply has the %variable%, but how do I set the trigger to record the text from whichever of the 6 options they selected?

Michael Hinze
Sam Hernandez

Hi all. I have a similar question. So, I have a set of options that can be selected on the first slide, topics 1-6, which dictates which set of questions they will get. I want the results slide to show which topic they selected on the first slide. I know on the results slide simply has the %variable%, but how do I set the trigger to record the text from whichever of the 6 options they selected?

Add triggers to the six option objects that when clicked set the value of the variable to 1-6.

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