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?
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.
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.
Just out of curiosity, does the attached do what you you're looking for? Typing in a, b, or c displays one image while any other letter displays another.
I haven't seen a lot of other requests for this functionality, and it's not yet a feature added to Storyline, but I appreciate you adding your voice here!
This feature hasn't bubbled up to the top of our roadmap, but we're still listening to the feedback! We'll let you know here as soon as we have more info to share!
Hi Kelly - you may want to try using javascript in the mean time?
I found this tutorial by Matthew Bibby that shows you how you can count how many times a particular word is mentioned in a text entry field. https://matthewbibby.com/keyword/
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
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).
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.
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.
21 Replies
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!
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.
Looks like we got it, Michael!
Thanks for sending that in :)
Just out of curiosity, does the attached do what you you're looking for? Typing in a, b, or c displays one image while any other letter displays another.
Any news on this feature?
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)
Hi Stefan,
I haven't seen a lot of other requests for this functionality, and it's not yet a feature added to Storyline, but I appreciate you adding your voice here!
I need this feature as well. Is this so complicated to add it?
Hi Andrea! Thanks for adding your vote to this feature request. Here's an inside look at how we manage feature requests once we receive them.
Please hurry!!!
Hi Kelly,
This feature hasn't bubbled up to the top of our roadmap, but we're still listening to the feedback! We'll let you know here as soon as we have more info to share!
Hi Kelly - you may want to try using javascript in the mean time?
I found this tutorial by Matthew Bibby that shows you how you can count how many times a particular word is mentioned in a text entry field.
https://matthewbibby.com/keyword/
Merci Safurah!
Je cherchais justement d'un bout de code JS comme celui-ci pour valider les adresses email (@) que les élèves inscrivent dans leur examen. :-)
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
Yes I hope that they can implement it very soon.
Scott,
There is a sample in this discussion that has a javascript that can do as you want.
https://community.articulate.com/discussions/articulate-storyline/free-sample-check-essay-questions-for-concepts-not-words
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).
Hi all
any news about that ?
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.
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.
There a javascript in the sample file here:
https://community.articulate.com/discussions/articulate-storyline/free-sample-check-essay-questions-for-concepts-not-words
Odds are good that you can adapt it to your situation.