Copy link to clipboard
Copied
Is it possible to create a text entry box which, when the user clicks a button, submits the text entry value to the LMS?
Copy link to clipboard
Copied
TEB has an associated variable. Whether the var will show up in the LMS
depends on the LMS.
Copy link to clipboard
Copied
You can write the value to cmi.comments (SCORM1.2) or cmi.comments_from_learner.n.comment (SCORM 2004).
Copy link to clipboard
Copied
Thank you!
When you say "write the value" do you mean with a custom JS script?
Copy link to clipboard
Copied
You will need to use JavaScript to make the SCORM call.
Which SCORM version and output are you using?
Copy link to clipboard
Copied
I'm currently not using an LMS, but will be soon.
I am trying to find out if this is indeed possible and, if so, how much custom JS coding it will involve.
In all likelihood I will be using xApi.
In that case, are there generic SCORM calls that could be written, or would they have to be written with prior knowledge of the specific LMS configuration?
Copy link to clipboard
Copied
The SCORM calls are the same for all LMS's that are SCORM compliant. The prefix variable for the SCORM API is different.
The 1.2 API is named "API", the 2004 API is named "API_1484_11".
Don't ever use xAPI.
It's just one or two lines of code to make the calls.
Copy link to clipboard
Copied
Thanks TLCMediaDesign, you've been extremely helpful!
Could you point me to a resource that explains how to do this type of JS/SCORM coding with Captivate?
Also, why do you suggest not using xApi?
Copy link to clipboard
Copied
I don't actually know of any. Rustici is a good place the find the SCORM calls.
We use SCORM 1.2 90% of the time because it is simple and does what we want it to do.
2004 is way more complicated and not fully implemented by LMS vendors.
xAPI is good if you need the users to be able to continue their training off-line and have their progress continue when they get back on-line.
Copy link to clipboard
Copied
Thank you!!
Copy link to clipboard
Copied
I am looking to get data from a text entry box in Captivate. It looks like I can pull a few API Calls in our LMS but I am unsure how to get the text entry box data into the APIs? Would you be able to help me figure out what the javascript needs to look like? I am using Scorm 1.2.
Copy link to clipboard
Copied