Can I set a trigger that will work with any key?

Jul 13, 2018

For a project I'm working on in SL360 I would like to change the state of a button when a user enters an answer into a textfield without them having to 'submit' first. Can I make a trigger that works with any key? There is no right or wrong answer and it may be just one word...

2 Replies
Cary Glenn

You could add a trigger to the text entry box that is 

Change state of button to "xxxx" when control loses focus on the text entry box. Alternatively, it could be change state of button to "xxxx" when TextEntry (variable) changes.  The first one works if the press the enter key after they are done typing. The second works if they click anywhere outside of the text field. If you want it to be any key you would basically half to do a change state of button to "xxx" when user presses "A" key, then copy the trigger and change "A" to "B" and so on. A little tedious but it would work.

This discussion is closed. You can start a new discussion or contact Articulate Support.