Marking course complete in LMS from a slide without clicking a button

I have 3 knowledge checks in the course, and when they are complete the user is sent to a "Congratulations" slide where they can close the course, go back to a menu or take a survey. We want the course to be marked complete and that sent to the LMS if you get to this slide. Anyone done this?

8 Replies