Forum Discussion
Trigger - jump to next slide when typing correct word
Is there a way to create a trigger to type a specific word (ex. asthma) that will automatically jump to the next slide after typing correctly? I can create a trigger for this by pressing 'enter' key after typing word correctly, but looking to have trigger for just typing the word with no need to press enter.
- Nathan_HilliardCommunity Member
See this post for an idea
https://community.articulate.com/discussions/articulate-storyline/variables-with-text-entry-help
- NedimCommunity Member
It doesn't seem feasible without JavaScript. Try the following code within "Execute JavaScript When the timeline starts on this slide".
const inputs = document.querySelectorAll('.acc-textinput');
inputs.forEach((i) => {
i.addEventListener('keyup', () => {
i.blur();
i.focus();
});
});
Attached is a video demonstrating this interaction, along with the .story file for reference - NathanDillCommunity Member
Thank you for the examples! I'll test this out.