Timer on a page and then reporting time to LMS

jdlectora Community Member Posts: 7
Hi there!

I'm working on a project that requires a timer to display on each slide (each slide is question). On click of Start, the timer should count up (0:15, 00:16, 00:17) in seconds and then once the learner answers the question and clicks the Submit button, it stops the timer. Whatever time is displayed after clicking Submit should then be saved in the LMS for that question slide. We are having the learner go out and surf for the answer and we want to time how long it takes per question.

Is there an easy way to do this? And is there a nice graphic of a timer that we can customize (colors, shadows, etc.)?

If someone already has built this functionality, would you be willing to share just one slide that does this? (The AWT file)



  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    There's a timer interaction like what you described in the "Cooking with Lectora" course available here: http://lectora.com/sample-courses

    And here's a discussion on how it was built: http://lectora.com/forum/showthread.php?t=24247
  • mallow76
    mallow76 Community Member Posts: 123
    depending on your LMS (and if/how it handles scorm quiz interactions) it should capture how long someone spends on each question automatically. though you need to click the checkbox to submit test/question interactions to the LMS to enable this. If that is the case then you maybe just need to add a timer for visual effect and let scorm take care of the rest.

    alternatively you could pass the timer variable into the variable of a second (hidden, fill-in-the-blank) question on the page. both the answer and the time would then get passed back to the lms.
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    mallow76 has a very good point. SCORM 1.2 captures cmi.interactions.n.latency defined as "Time elapsed between the time the interaction was made available to the learner for response and the time of the first response". If Lectora sends that to your LMS and if your LMS stores it properly, you could be able to extract and analyze this data. I've never seen an LMS that does good crunching of the interaction data so you might need developer's help to dump the data from LMS and then crunch it in Excel.
  • jdlectora
    jdlectora Community Member Posts: 7
    Thank you both!!

    I will check this out!!
  • rsavla9737
    rsavla9737 Community Member Posts: 1 ☆ Roadie ☆
    I have a Lectora Published module where graded Multiple Choice questions are there. However moodle LMS does not show time spent by user on that question and other interactions data. Can you guide of what could be an issue?

    I have checked the reporting settings while publishing to SCORM 1.2 as well.