"Contains" variable

May 31, 2013

I have to believe that someone has already posted this question, and/or it has already been submitted as a feature request, but it seems like there's no way to add a "contains" text variable in Storyline. You only have two basic choices: equal to and not equal to. Has this already been requested?

21 Replies
Christine Hendrickson

Hi there Michael,

Are you referring to a condition, by any chance? If so, I believe you're looking for something that would adjust a variable or trigger on condition of possibly a text field containing a specific word, or number. Is that about right?

If so, I do believe I have seen a similar request in the past. It's quite possible that there have been feature requests for this, but the more we get for a feature the better! :) If you do decide to share a suggestion with us, please try to be as descriptive as possible.

Articulate - Submit a feature request

Thanks!

Michael Breagy

That's pretty much it. I want to display an image when the timeline begins only if a certain variable contains certain numbers or letters. So something like . . . when the timeline begins, display {this image} only if {this variable} contains any of the following: A, B or C. If not, show {this other image}. But I'll submit a feature request just to be safe.

Stefanie Lindner

One more note on my usage scenario: if a text-varaiable contains a certain word it should add +1 to a certain number-variable. For example:

My text variable has the following content: "apple, banana, blue, apple, red, yellow". 

The word "apple" appears two times, so my number-variable should have the value "2" (start value=0+1+1)

Scott Taylor

I'd really find this useful too - we have a few eLearns where the learner will need to free type a sentence, and we'd like to include keywords in something like a 'contains' operator, which will allow the learner to get the question right if they type certain words into the field..... any news on when this might be? this thread is pretty old now!
thanks

Holly Gaspar

Has the conditional choice been added to variable yet? I can't find it. I'm trying to create a search for a "glossary and common terms" but storyline won't let me use "if contains" nor search for terms with a space in the term name. So i am stuck searching on single words only - hard when you have terms too. Help! (Java script wasn't working and seemed like way too much work - I'm not a programmer). 

Leslie McKerchie

Hi Andrea,

This feature has not made it to our roadmap yet, but you can see the list here:

Articulate 360 Feature Roadmap

This conversation is attached to the request so that we can share any updates with you here. I wanted to share some information about how we manage these feature requests, which may be helpful. 

Jorg Probst

Can I just pitch in too here in support of this feature?

This feature would be really useful in my scenario too.  I would like to allow users to paste a URL in a text entry field, and if that URL contains a specific string of characters, then they would be correct, otherwise incorrect.

For background, I want users to identify a correct document with legal databases, In some databases, there would be more than one URL that could be considered correct but all of the URLs have a doc ID string in common. So the ability to have a "contains" variable would be so useful.