Text entry containing a certain word - Trigger

May 14, 2023

Hi there, 

I would like to trigger a slide to lightbox in Storyline when a text entry box contains a certain word, or certain words. I'm struggling to do this with Javascript and conditions, can anybody suggest how I may get this working please? 

Many thanks

4 Replies
Joe Tansengco

Hello Kelsey, 

Looks like a Freeform Text Entry question is what you need! Using this slide, you'll be able to specify all of the correct words that a learner can enter to trigger a correct response.

Note that this will only work for one word, so if you need more than one word to show a layer, you can just design a custom slide that makes use of multiple text entry inputs. I've attached a sample so you can see an example of a slide that makes use of multiple inputs to show a correct layer.