User entered Text Entry Box contents to SCORM cmi.comments in LMS
I need to report some user entered text to my LMS. Essentially, these will be open ended questions about experiences that we want the user to type in their own words. There will not be any validation to the text box. It will be completely open ended. However, we want to view their entry in a report from the LMS.
I have been struggling with this for a couple of weeks now. I feel like i am close to finding a solution but do not have one yet.
I applied this Javascript to a button on the page:
SCORM_CallLMSSetValue('cmi.comments', 'box1');
Results:
I was able to return a value in cmi.comments when running my report in the LMS - the value was box1
I call this a win since I was finally able to get something to report!
Now, the next step would be to get the value of box1 (the text that the user has input) to report instead of the name of the variable.
This seems like it should not be that difficult, but I am not a programmer and I am having a hard time finding a resolution for this instance.
