Forum Discussion
Storyline Text Entry Trigger Issue
Hi! I have several text entry fields in a layer that I'm working on that I cannot get the trigger to do what I want. This is what I need:
The state of "Search Button" becomes normal when:
- Address, CTN, City, State, and Zip are all filled correctly.
- Outside, Voice, and 4G-HD are all in a normal State.
I thought I had it figured out, but it's still not working after several attempts at changing things. What I have done is set a trigger for each text entry to be equal to the typed value when the object loses focus. Then I set a trigger to change the variable for each field's value to True if the text entry is equal to the correct text. Then I set a trigger for the Search Button to change states to normal (default state disabled) when the user hovers over the Search Button if Address, City, CTN, State, Zip all equal True AND the states of Outside, Voice, and 4G-HD are all equal to Normal.
I'm hoping someone here can help. Thank you!
- WaltHamiltonSuper Hero
The search button's initial state is disabled. That means it can't do any of its normal functions, including know if the cursor is hovering over it.
Duplicate the Disabled state. Give it any other name, and set that state to the initial state.
- DeannaGualtieriCommunity Member
Well, that does work, however, it negates the purpose of hiding the button. Because I don't want the learner to be able to continue on without completing the fields correctly. But now that I see the issue, hopefully I can come up with some triggers to make it happen the way I intend. Thank you!