How do I create the trigger to get a reference variable into a place that holds it? See the attached from a storyline tutorial. I get the concept but am not clear on the trigger. What's the trigger language that translates the %name% to the actual name? Thank you.
So whatever the user enters in that "First name" box should be associated with the "name" variable - and therefore once they've entered something and the variable is set - typically with a trigger that says "Adjust variable "Name" when the control loses focus on text entry 1" if they go to that next slide where the reference is - it should show the name the user entered. If this is not working, I'd look to make sure that the trigger to set the variable matches the one you're referencing, that the trigger to set the variable is occurring before other triggers such as jump to slide or show layer. If this is not happening on your file, it's hard to say why without taking a look at it, could you share those slides here?
this is where I've been stuck, what to do on the second slide, insert text box and then insert reference within text box. When I tried to insert the reference first it was greyed out.
I never got any of this from the tutorials I've read. Too left-brained. ::-) works like a charm now, thanks so much. Peter
so, continuing with references, I want to use this function on the same slide. When I drag the food to the hot spot, I want the # of calories to show. There is no text entry; it's there already. It's not working; the # of calories already appears before I drag the item. I know I'm off but I don't know where or why.
I also don't understand why my attached files sometimes are not attached.
here's what I'm attaching. The *.story file. Is that correct. let's see if it comes through.
Hi Peter! Sorry that I missed a question in this thread, and thanks for reaching out. I've addressed the questions here for anyone that may run across this post and want to follow along.
15 Replies
Hi Peter,
Nothing was attached here - but the variable is either set by a user typing into a data entry or via trigger. You may want to review the tutorial here on working with variables and this one on using variable references.
here's the attachment. I've read the two tutorials. thank, Ashley
Hi Peter,
So whatever the user enters in that "First name" box should be associated with the "name" variable - and therefore once they've entered something and the variable is set - typically with a trigger that says "Adjust variable "Name" when the control loses focus on text entry 1" if they go to that next slide where the reference is - it should show the name the user entered. If this is not working, I'd look to make sure that the trigger to set the variable matches the one you're referencing, that the trigger to set the variable is occurring before other triggers such as jump to slide or show layer. If this is not happening on your file, it's hard to say why without taking a look at it, could you share those slides here?
sorry, Ashley the tutorial is here:
https://community.articulate.com/series/articulate-storyline-2/articles/adding-variables
the slides are slide 1 and slide 2, half way down, "wellness" gotta run be back later.
Hi Peter,
Yes, I see the image - but do you have this started on your own files? That's what we'd want to take a look at.
in process of doing this
first slide %textEntry1%--is there a "default value" for the reference
what do I put on the next slide, e.g., where the first name shows,
Hi Peter!
If you follow the tutorials that Ashley shared above, you will see that you need to create a variable:
Then create your text entry box for the learner:
Then on the screen where you want this data to display, you can add into your text box as a reference:
I hope that helps :)
GREAT, Leslie!
this is where I've been stuck, what to do on the
second slide, insert text box and then insert
reference within text box. When I tried to insert the reference first it was greyed out.
I never got any of
this from the tutorials I've read. Too left-brained. ::-)
works like a charm now, thanks so much.
Peter
so, continuing with references, I want to use this function on the same slide. When I drag the food to the hot spot, I want the # of calories to show. There is no text entry; it's there already. It's not working; the # of calories already appears before I drag the item. I know I'm off but I don't know where or why.
I also don't understand why my attached files sometimes are not attached.
here's what I'm attaching. The *.story file. Is that correct. let's see if it comes through.
Thank you.
peter
I
Glad to hear it Peter :)
frustration...elation...frustration...elation....life
Bahahaha! Happy Friday at least :)
Indeed.
Hi Peter! Sorry that I missed a question in this thread, and thanks for reaching out. I've addressed the questions here for anyone that may run across this post and want to follow along.
This discussion is closed. You can start a new discussion or contact Articulate Support.