Forum Discussion
Data Entry + Trigger
Hi All,
I am trying to create a slide/lesson where the learner will need to enter multiple lines of text on a slide before they can move on. I'm only running into a problem because I can't trigger the data entry to change to a visited or selected state. Since, I cannot change the data entry state I don't know how to make the "next" button appear after the learner has entered in all of the text I would like them to complete.
Also, I know recording a simulation would be easier then creating from scratch, but in this case it deals with personal information in which if I use a "dummy" employee the learners will not know the answers to type in.
Any thoughts and suggestions would be greatly appreciated!
Thank you,
--Jessica
33 Replies
- RebeccaFleischCCommunity Member
Hi Jessica,
Ah, so you want a Button to be displayed! When you said allowing the Learner to "move on" I (mis) interpreted that to mean making the default next button available. I've found it's a little dicier to set this up with a change of state of a customized button, but it can be done for sure.
So, my plan is to upload 2 different stories here so you can look at the trigger wizard. Since this board only allows uploading one story at a time, this post will have one story and I'll upload the next in a subsequent post.
Oh, and my story still only has 2 "data entries", but you'll get the idea and do the same for all of yours.
Button appears when Learner presses if....
This is pretty easy to set up, but you'd probably want to let the Learners know they must press enter.
- RebeccaFleischCCommunity Member
Button appears when Learners presses tab or clicks outside the boxes if...
The above is default behavior
I've set inserted a Next button; initial state is hidden. The trigger changes the state so to normal if the two text entries are not equal to blank. Forgot to mention that in the above post!
In this case, I had to had 2 "when variable changes triggers." There may be a more efficient way, and I'm open to it, but it's what I could come up with. You'll see what I mean when you open the story.
Please do come back if you have more questions

- JessicaVanceCommunity Member
Rebecca Fleisch Cordeiro said:
Hi Jessica,
So, for text entries where you want the Learner to enter some text before they move on, you want the text entry to be not equal to blank (you don't want the text entry box to be blank). So, as you see in the screen shot below, your choices are not equal to or not equal to ignore case. If it doesn't matter whether the Learner types in uppercase or lowercase, you'd want to select ignore case.
Then, if you leave the value blank as in this screen shot, you're telling Storyline the Learner cannot move to the next page (or next "whatever) if the Text Entry field is blank.
And yes, if you have several text entries on your slide, you'll want to add the conditions for each to the next button trigger. It's always a good idea to name variables so you can keep track of what's going on, as in this example:
You may also want to add a Warning Layer to let your Learners know why, when they click Next, nothing is happening. If you're not sure how to do that, just holler.
Hi Rebecca, quick question... different Jessica
I'm using your answer of a button having a condition to skip to a slide 'IF text entry = blank' and this works great - thank you! But I'm having an issue with it triggering a "Warning Layer" or warning state change... could you please advise what you were refering to above? - RebeccaFleischCCommunity Member
Hi Jessica,
My pleasure. Glad it's working for you. I've attached a story with a warning layer. Since you so easily were able to work out the other instructions, I think when you look at the trigger panel you'll find it self-explanatory. By the way, I've used a custom next button on this one instead of the built-in one, but the concept is the same. You'd just apply the triggers to the built-in buttons instead.
The trigger on the button for the warning layer says:
Action: Show layer
Layer: Warning
When: User clicks
Object: Button next (the custom button)
On condition: Fname is equal to (ignore case) (blank)
Holler if you have any questions.
- JessicaVanceCommunity Member
Rebecca you are wonderful!! (I totally forgot this condition is 'equal' where as the other was 'not equal to' - doh.)
Thank you so much for your help, and so quickly! Such a cool feature, I'm so glad I came across this thread.

- RebeccaFleischCCommunity Member
Glad it worked, Jessica. As for the "doh" factor, I've certainly been there.
Enjoy your day. - johnpanCommunity Member
Is there a way to make the value that needs to be entered not 100 % of what the user writes but focus on a key word. For example I ask a question. "How do you treat a ankle injury?" There is a few possible answers. If the user types in {ice the ankle} I want it to recognize just the word [ice] and allow them to pass the condition test. or if they write something longer like: { I will now ice the ankle} it will not throw off the condition test?
I'm trying to have a write in branching quiz. If they answer the question one way it will take them to another slide if they answer it another it will take them to another slide when they click next.
The questions are a little opened needed and I don't want the users needing to match whats in the condition test exactly.
Thanks for any help you can give.
- RebeccaFleischCCommunity Member
Hi John,
Welcome to the community! I don't know the answer to this, but wanted to at least respond. Maybe someone else will jump in.
It seems like this would need to have a "contains the text" kind of "trigger" applied to it.Make the answer correct if the text entry contains the word ice.
As I understand the text variables in Storyline, they're either "equals to" or "not equals to." So, I don't see a way to do this - which doesn't mean it can't be done. That's why I'm hoping someone else will jump in.
Of course there's the short essay option, but that's not precisely what you're looking for.
I'd be interested to know if this can be done, or if it's something to be added to an SL wish list via a feature request.
- johnpanCommunity Member
Yes its not possible with short essay or short answer.
Yes this is what I'm looking for " It seems like this would need to have a "contains the text" kind of "trigger" applied to it.Make the answer correct if the text entry contains the word ice."
Please let me knows the answer or the programers can give me a working beta version of this.
- VanessaRodrigueCommunity Member
Is there any updated on this? In the "Add Trigger Condition", I'm looking to have my variable "contain" a certain letter. However, the only operator options are:
- Less than
- Greater than
- Less than or equal to
- Greater than or equal to
- Equal to
- Not equal to
- and Between two values
I'm hoping there's a "contain" operator that I can use.
Related Content
- 10 months ago