Copy link to clipboard
Copied
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!!
Copy link to clipboard
Copied
Did you ever work out how to do this?
Copy link to clipboard
Copied
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.