Skip to main content
stefantt
Participating Frequently
July 18, 2017
Answered

Report Freetext to Scorm / LMS

  • July 18, 2017
  • 2 replies
  • 948 views

Hi there

I've been trying and searching for a while but cannot find a good solution allthough the problem seams quite easy:

I want the user to answer a question with freetext. He should be able to change this text when he visits the page a second time. The text should be reported to the LMS, however now grading is necessary.

Is there a possibility to get the text entered in a learning interaction "scrolling text" to be reported to the LMS?

I've created a branched scenario where the learner can take several attempts. At the end I want the learner to write a short summary of what he has learned and I want this to be reported to my LMS. It does not need to be graded. Here's what I've tried:

  • I have tried to do it with a quiz short answer. It actually works, but the problem is, that when the user does a second attempt and comes back to this "short answer question" he is not able to update and resend the new answer.
  • I then tried to do it with the learning interaction "scrolling text". Now it doesn't report the content of what the user entered (but he sees and can change the content on a second attempt.

Here's what I'm using:

Captivate 9

Scorm 2004

LMS: ILIAS Version 5.1

Thanks a lot in advance.

Stefan

This topic has been closed for replies.
Correct answer TLCMediaDesign

You should be able to record the text using the following function call:

SCORM2004_RecordInteraction(strID, strResponse, blnCorrect, strCorrectResponse, strDescription, intWeighting, intLatency, strLearningObjectiveID, dtmTime, SCORM2004InteractionType)

What ever variable you assign (I used myText) to the scrolling text would be populated in the strResponse argument. So on slide Exit you could execute the JavaScript:

SCORM2004_RecordInteraction("Student Response", myText, true, 0, 0, 0, 0, 0, Date(), "SCORM2004_INTERACTION_TYPE_LONG_FILL_IN");

Haven't tested this so you may have to play around with the entries, but should work in theory.

2 replies

TLCMediaDesign
Inspiring
July 20, 2017

If it works in SCORM Cloud, perhaps your LMS doesn't handle the interaction data, which would be a crime.

The LMS would know if you are passing variables into the arguments of a function.

TLCMediaDesign
TLCMediaDesignCorrect answer
Inspiring
July 18, 2017

You should be able to record the text using the following function call:

SCORM2004_RecordInteraction(strID, strResponse, blnCorrect, strCorrectResponse, strDescription, intWeighting, intLatency, strLearningObjectiveID, dtmTime, SCORM2004InteractionType)

What ever variable you assign (I used myText) to the scrolling text would be populated in the strResponse argument. So on slide Exit you could execute the JavaScript:

SCORM2004_RecordInteraction("Student Response", myText, true, 0, 0, 0, 0, 0, Date(), "SCORM2004_INTERACTION_TYPE_LONG_FILL_IN");

Haven't tested this so you may have to play around with the entries, but should work in theory.

stefantt
stefanttAuthor
Participating Frequently
July 18, 2017

Hi

Thanks for your fast reply.

Unfortunately I'm not such an advanced user. I understand where to enter the variable to the scrolling text and the JavaScript on slide Exit.

But where do I put this part?

SCORM2004_RecordInteraction(strID, strResponse, blnCorrect, strCorrectResponse, strDescription, intWeighting, intLatency, strLearningObjectiveID, dtmTime, SCORM2004InteractionType)

Thanks

Stefan

TLCMediaDesign
Inspiring
July 18, 2017

You would execute JavaScript onExit action in the slide properties. If it is HTML5 it will always fire. I guess it doesn't with swf.