Forum Discussion
AdamScormit
2 years agoCommunity Member
Triggered event when any key is pressed?
Hello, Is there a wild card available so that when any key is pressed I can trigger an event? Assuming I have an input text field, I'd like to have a triggered event, such as changing the color ...
PhilMayor
2 years agoSuper Hero
you could use javascript to blur and then set a trigger if the variable has changed.
See the attached file, which counts when it blurs.
- BenNichols-7d2f10 months agoCommunity Member
Phil,
Can you explain why this works when I download your blur_count.story file, but when I recreate it exactly in my file, the Text Entry doesn't lose focus until I click outside the text box? On yours, it appears to immediately lose focus as I type. On my files, I need to click outside of the text box to trigger the "lose focus". I'm perplexed.
Edit: I'm using Storyline x64... not sure if there is an compatibility issue there.