Forum Discussion
Press Any Key Trigger
When you insert a text-entry field, Storyline automatically creates a variable to store the entry. However, the variable's value isn't updated until the field loses focus.
Because the user has to click something to update the last entry, I think the easiest way to require the user to enter something in every field is to have your Submit button available right away. But add conditions to its trigger so it will only proceed if all the text-entry variables have content. In other words, none can be blank. For just two text-entry fields, that trigger would look something like this:
This trigger shows a Warning layer if any of the fields = blank.
This approach is demonstrated in the attached file.
- AdrianeWolfe7 months agoCommunity Member
Oh that makes so much more sense! I didn't realize I could change the = in the trigger. Thanks!