I'm a newbie to Articulate360 and I'm creating my first proper course.
I am wanting to check if a value held in a variable is present in a list of values (potentially an array if possible but open to other suggestions)
There are 18 options I'm wanting to compare the variable value to and to then use a simple if statement that says if it's in the list say "x" and if it's not, say "y"
Can anyone help me get started with this please? I was wondering if I needed JS code?
First off, welcome to the E-Learning Heroes community! We are fully staffed here and have brilliant community members that share their wealth of knowledge daily. In short, you came to the right place for help!
I'm not a Javascript expert, but we do have many discussions that sound similar to what you're creating. I'll link them below.
1 Reply
Hi Dawn!
First off, welcome to the E-Learning Heroes community! We are fully staffed here and have brilliant community members that share their wealth of knowledge daily. In short, you came to the right place for help!
I'm not a Javascript expert, but we do have many discussions that sound similar to what you're creating. I'll link them below.
Javascript Help Needed: Populating an Array Based on Variables
Array Variables and Indexing in Storyline
Let us know what you create!
This discussion is closed. You can start a new discussion or contact Articulate Support.