Survey/Exam Hybrid in Storyline

Apr 24, 2014

Hello,

I'm trying to create a survey/exam hybrid (think Cosmo quiz).  I want to ask participants a series of questions where their responses are captured on a sliding scale - not a likert scale, exactly, but where answer a is worth 5 points, b is worth 3 points, c is worth 1 point. I'd then like to tally those answers into a final score and send that score to our LMS (SuccessFactors).

I haven't come up with a way to do both of those things in Storyline (i.e. assign point values to all responses to a question AND send an overall score at the end). The closest I've come in theory is to use the survey functionality to capture the answer values and then using javascript to send the score (below the text of this post). The problem I'm having is the javascript doesn't seem to work. Two questions for the board:

1. Has anyone successfully created something like I've described? If so, I will send you a vending machine item of your choice if you can explain how (two items if you share your example).

2. Has anyone had success using the javascript below? I've added it to a trigger on my Results slide but with no luck. However, this same solution is mentioned as a way to send the score on a number of sites.

/*Get player to reference*/
var player = GetPlayer();

/*get LMS API*/
var lmsAPI = parent;

/*set score; the first number is the score*/
lmsAPI.SetScore(player.GetVar(“zCardStacklQuestionsAnsweredCorrect”), 100, 0);

/*set status; possible values: ”completed”,”incomplete”, “failed”, “passed”*/
SetStatus(“completed”)

1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.