Picture of Matthew Brooks
Course completion message
by Matthew Brooks - Wednesday, 7 December 2016, 11:57 PM
 

Hi

I would like help to provide a way to display a "Course Completed" message to the user when they have completed all the enabled page-level-progress components of a course.

Picture of Matt Leathes
Re: Course completion message
by Matt Leathes - Thursday, 8 December 2016, 9:59 AM
 

Hi Matt

Listening to the 'change' event for the _isCourseComplete property of Adapt.course will allow you to be notified when the user has completed all the required content in the course. That may not necessarily be the same as all the page-level-progress components of the course, that really depends on your setup. I can't think of a straightforward way of focussing on just PLP-enabled components.

Matt

Picture of Matthew Brooks
Re: Course completion message
by Matthew Brooks - Friday, 9 December 2016, 6:33 AM
 

Thanks I'll look into the events. 

I ended up using the Spoor example to get the SCORM status completion compared to a string and used the popup example to trigger if true. Inserted into the box menu render view area so user must return to menu to get message, as I was gettimg two popups at once if the last completion action was a question feedback popup.

Anyway might make a more elegant solution later :)