Forum Discussion
AdamTrosper
8 years agoCommunity Member
lmsAPI Functionality in HTML5 Output
Hey all,
I've been searching through the forums and haven't been able to find anything solid. I'm using Storyline 360, outputting to both HTML5 and Flash to cover my bases, since the audience doe...
AdamTrosper
7 years agoCommunity Member
Hi Chris,
I wrote this original code to work with SCORM 1.2, not SCORM 2004.
I don't claim to know every difference between the two, but this might help. My guess is that the Student Name is part of an multi-part object that is getting pulled in.
Have you considered using split/join to remove the "undefined"? For example:
var firstName = nameArray[1].split('undefined').join('');
var lastName = nameArray[0].split('undefined').join('');
- ChrisPerez-f9f67 years agoCommunity Member
Hi Adam - thanks for the reply. I will take a look on Monday. I wasn't able to get the array[1] to work at all, but I'll check and report back.