Saving data with triggers in Articulate Storyline examples
Can you provide examples of saving data with triggers in Articulate Storyline?
July 22, 2019, 6:18 pm
I set up a field called “status” and want to set it to either “pass” or “fail” depending on the situation.
I will use conditional triggers in Storyline to run the script:
I want to track whether the learner answered the question correctly.
I set up a field called “quiz” and want to use values “correct” or “incorrect” depending on the answer provided.
I want to save the response entered by the learner in the module.
I set up a field called “reflection” in the data table.
In Storyline, I will add a text entry box for the learner to type their response:
Then I will add the following trigger when the Submit button is clicked:
var player = GetPlayer();
var entry = player.GetVar("TextEntry1");
July 22, 2019, 6:25 pm
Great looking set of widgets! I am new to this but getting there.
A question about Example 3 where the content of a text entry variable is saved; can I also use this method to save the content of a numeric variable?
March 6, 2020, 6:15 pm
Hi John. You should be able to, I don't see why not.
March 6, 2020, 9:06 pm
Is there a way to record multiple text entry fields with a single submit button?
April 2, 2020, 12:47 pm
I have successfully saved some data from storyline variables following example 3 above.
However I would like to store the value of a storyline built-in variable: 'Menu.SlidesViewed'. This is numeric I believe.
May 28, 2020, 10:53 am
May 28, 2020, 12:13 pm