Forum Discussion
Build Custom Search within Storyline using JavaScript
Bridget, I followed your instructions while trying to build similar functionality and ended up building a text field that will only accept specific words in no particular order, case-insensitive. Anything can be typed but only the words in the js string will allow the slide to advance. For the example story file attached the words accepted by the search are "investigate", "milk", and "hormone".
My original idea was to use the functionality you shared here to send the user to a specific slide when they typed in the appropriate keywords, but it was the multiple keywords that caused the issue for me. With a little regex research (of which I am no pro) I solved that problem and then I dumbed down the functionality for my specific purpose. Some other native SL variables and settings help complete the functionality of the js.
Like your example, this needs to be published to work.