I am trying to get the user to enter their name then click a button that saves the name to a variable - but then also shows another layer... Weird thing is... that this used to work and now it doesn't so my question is are there any "rules" that need to be added other than show layer ____ when user clicks btn1?
I can post the .story if anyone thinks it would be helpful?
I believe I was able to accomplish what you're asking. Here's what I did (step-by-step):
Create variable "Name" with type = text and no default value
Insert menu > Data Entry > select Text Entry
Click and drag out text entry box
In the triggers window, look for "Text Entry". Highlight and edit that variable.
In the trigger wizard that opens, set variable to "Name" and click Ok.
Create layer or page where you want the name to appear again.
On that layer/page insert a text box that contains the reference "%Name%" and any other text you'd like to appear.
Insert a button and add a trigger to either show layer or jump to slide where you'd like name to display.
To the user it would look like the submit/save button is saving the changes but really as soon as they enter their name and "control loses focus" on that text entry field the variable changes.
Hi Lesley - I believe i had done what your saying - however, the layer that I want to show up when the user clicks the button never appears... its odd - and its probably something simple....
4 Replies
Hi Christina,
I believe I was able to accomplish what you're asking. Here's what I did (step-by-step):
To the user it would look like the submit/save button is saving the changes but really as soon as they enter their name and "control loses focus" on that text entry field the variable changes.
I hope this works for you. There's also a great tutorial: http://community.articulate.com/tutorials/products/adding-text-variables.aspx if you need more info.
Hi Christina! Looks like Lesley has popped in to assist you here
Thanks!
Hi Lesley - I believe i had done what your saying - however, the layer that I want to show up when the user clicks the button never appears... its odd - and its probably something simple....
also - could there be something else on another layer that would be causing the layer not to show?
Thanks again!
This discussion is closed. You can start a new discussion or contact Articulate Support.