Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Report Freetext to Scorm / LMS

New Here ,
Jul 18, 2017 Jul 18, 2017

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

TOPICS
Quizzing and LMS
746
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Jul 18, 2017 Jul 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(

...
Translate
People's Champ ,
Jul 18, 2017 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 18, 2017 Jul 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jul 18, 2017 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 19, 2017 Jul 19, 2017

Hi

Unfortunately I'm not that familiar with JavaScript. What I did was

Enter the Variable

myText into the widget (see step 1 in the attached picture

entered following script on exit of the slide (step 2 in the attached picture)

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

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

Is some syntax wrong?...sorry I'm really just a beginner and have little idea of JS.

Thanks for your help

StefanJavascript.PNG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2017 Jul 19, 2017

I cannot help you with JS, would just have tested the LMS to see if user variables are reported (some do have that functionality).

However I want to remind you that a user variable is not created automatically because you enter it in the variable field of a learning interaction (widget). You have to create that variable with Project, Variables as well. One of the tips in these posts:

Tips - Learning Interactions - Captivate blog

Using Captivate Widgets? Some tips - Captivate blog

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 19, 2017 Jul 19, 2017

Hi Lieve

Thanks. I'll try that. First attempts look promising.

Best regards

Stefan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 20, 2017 Jul 20, 2017

Hi Lieve

Unfortunately it didn't work out yet. I'm still trying to find out if it is just me, or if the LMS doesn't allow user variables being reported.

Would you have another Idea on how I could achieve my main-problem:

- Get Freetext created by the learner to the LMS

- He should be able to change this text on a second attempt.

I don't know - maybe this should be possible with the official short-answer quiz-questions!? but I was unsuccessfull so far with different tests...;-(

Thanks and best regards

Stefan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jul 20, 2017 Jul 20, 2017

You only need:

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

You also need to create the myText variable under Project/Variables. If you just assign it in the Interaction, it won't do anything until the variable is created.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 20, 2017 Jul 20, 2017

I think your solution works (i've tested it with scorm cloud) however I believe my LMS does not accept user created variables.

Thats what I'm trying to find out currently.

Or am I getting something wrong?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jul 20, 2017 Jul 20, 2017
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources