Quiz Response Variable
Dec 20, 2012
By
Derek Laur
Hello,
During quizzes, is there a way to track the user's response using a variable?
I need to forward the quiz answers to the trainer to be able to see what learning gaps exist in the training material.
Example:
1. A fruit is a _______.
A) vegetable
B) fruit
C) none of the above
I looking to be able to grab the users response and email it to the trainer using javascript. The email part is easy enough, but I don't know what the variable is called in Storyline.
Any help or suggestions?
Derek
10 Replies
You don't have access to the answers, you could build in variables to capture this instead
I think I have an idea, but do you by chance have an example?
How many questions do you have to do this with, Derek?
Sorry for the delay, was off on vacation. I have to do this with about 20 questions.
So just a little more information, when a user completes the course, the course is only able to report a pass or fail result, along with the user's score. If a user fails the course, we want to be able to review the questions the user was having difficulty with.
As far as I know, Articulate does not forward the results of individual questions to Cornerstone (our LMS).
So the only thing I can think of is that if I track the user's answer using a variable, I can pass the variable to a form using javascript. The form email the user's results for each question to the trainer.
It may seem like a lot of work, but we have at approximately 100 users take this course every month. This information would be awesome to have.
Hi Derek,
Here is a simple example of creating variables that change based on the answer to each question - you can change the text to whatever you'd like within the triggers. When you duplicate this for additional slides, make sure that the triggers are kept in the same order, with "Jump to the next slide" at the bottom of the stack, otherwise it jumps to the next slide before it gets the chance to change the value of the variable. I'm not sure how the javascript part works but you seemed to know how to do that part. Hopefully the variables carry over when you set that up with the email!
I hope this is what you were referring to - let me know if it's not!
Have fun,
Melissa
Yes this is perfect. I can use the player.GetVar to get the variable from storyline into javascript.
Thanks Mel! Does anyone know if you can pass the question answer variables to an LMS such as Cornerstone?
Hi Daniel!
Have you seen this article on sending the value of a variable to an LMS? I fear this is not what you are actually asking, but wanted to share in case.
This thread is a bit dated and I'm not sure if Melissa is still subscribed. You are welcome to utilize the 'Contact Me' option on her user profile if you wish or perhaps someone in the community will be able to assist.
Thank you so much for this, I was able to reverse engineer what you did and copy it into my project. I was looking to have their answer reviewed on the next slide. Thanks for sharing!!!!
This also helped me out! Thanks for posting and sharing, Mel!