Get LMS Status
I'm trying to figure out how to retrieve the LMS status for the course (Completed, Unsuccessful, etc) so that I can control user navigation if the user did not pass the course on the previous attempt.
var studentStatus = lmsAPI.GetStatus();
When I enter a text field with
and test in the LMS, the text field is always populated with:
regardless of my status. I've tried to change the variable name to no avail. Where is that 4 coming from, or even better, how can I retreive the lms status and assign it to a variable?