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