Passing a number variable to survey short answer text entry
Sep 09, 2014
Hi everyone,
I'm brand new to Articulate, so this might be a silly question.
I'm trying to develop a quiz for upload into my LMS (Moodle). I've created the questions, but I have a requirement where I need to be capturing how long the student took to answer each question (at the question level, not the quiz level).
After a lot of digging, I found a creative way to get the time per question. http://community.articulate.com/forums/t/33190.aspx
My needs were (fortunately) much simpler than theirs, in that I only needed how many seconds were spent on the question, without needing to convert to minutes.
Now I have a number variable that has the number of seconds spent on that question. I used this very helpful article to try and get it done:
http://www.articulate.com/support/storyline/how-to-send-the-value-of-a-variable-to-an-lms
The challenge with that is that the short answer slide has a textentry box which is what passes to the LMS. Well in order for my timer to work, I had to make the variable a number type variable. So now I can't use the trigger to pass my number variable into the short answer text entry box for my LMS to pick up.
Any idea on what I should do would be MUCH appreciated. If it helps, I can also share my file for reference.
4 Replies
Hi Chintan and welcome to Heroes!
You won't be able to assign a numeric variable to a text entry, and as that tutorial is set up for short answer question type. Have you looked into using a numeric quiz question? Phil also discusses another option here using Javascript to pass the variable.
Hope that helps get you started and that if there are any other suggestions, the community is able to offer some additional ideas here for you!
Thanks for the response Ashley!
I tried using the "How many" survey question because I didn't want it to impact the grade the student gets on the test. Then I tried the numeric quiz question. But both of those still use a text entry box, which doesn't accept number variables.
I had checked out the other thread already. Really hoping there is another option, otherwise I guess I'll finally have to learn some JS...
Hi, Chintan.
You've got a solution for this issue? I have this same problem, and until now nothing resolves this trouble.
I hope find a solution for this. Has anyone found a solution here?
Regards!
Hi Bruno,
There isn't a way to do this using the built in Storyline variables, but there are a few threads such as this one where users have done it with something such as Javascript.
You may want to search the forums for other methods as well.
This discussion is closed. You can start a new discussion or contact Articulate Support.