Skip to main content
Participating Frequently
September 28, 2015
Question

Reporting variables to LMS

  • September 28, 2015
  • 2 replies
  • 413 views

I've seen a few questions here about reporting user variables to the LMS but no real clear method of doing this.

I want to have a text entry box where the user types in free text.  This populates a variable which can be brought back some slides later. (this is fine & I have done this in other modules)

However, the client wants the free text to be reported to the LMS so they can see what the user typed.  There is no quiz and this text does not need to be validated = I will be more like feedback that the client wants to collate.

I'm using Captivate 8 and reporting to Moodle.  I have seen mention of the 'suspend data' but I gather that this contains lots of other information and could be difficult to extract just text.

Thanks a lot for your help!!

This topic has been closed for replies.

2 replies

TLCMediaDesign
Inspiring
January 12, 2016

The suspend data does contain a ton of information. You can use the cmi.comments.

SCORM_CallLMSSetValue("cmi.comments", strComment);

In SCORM 1.2 the comments are concatenated as one string. You can include some kind of separator, like '*'+strComment. This will enable you to see the last comment.

Known Participant
January 12, 2016

Did you ever work out how to do this?