Access user responses from Javascript
March 27, 2012 12:00 AM
I'm working on a Lectora project where I need to provide support for users who are taking the lessons and quizzes while offline, but then later be able to go back and access their scores and responses. So far, the offline storage capabilities of HTML5 seem to fit the bill. I can store the users' personal information (just name and email for now), and their score. However, I'd also like to capture their responses to individual questions, and these don't appear to be stored in any of the commonly-accessible variables. I'm trying to follow Trivantis' code that gets called prior to sending the results to a CGI form, but it's such a mess that I'm having a hard time following it.
Has anyone tried access this info before from within Lectora, or maybe I'm just missing something obvious? One other alternative I'd considered is capturing questions/answers as the user answers each one, but it seems like it would be easier to grab it all at the end.
Discussions have been disabled for this post