Hi all,
I'm using moodle 3.2 and scorm 1.2
I added the <adlcp:prerequisites ...> condition in the imsmanifest.xml file and it works as expected.
However, when the user clicks on a link in the TOC (xml organization) whose prerequisite isn't completed, then the user should get some popup message saying "please complete previous lesson to view this lesson".
How and where should I add the javascript code to display this message to user? It wont work on the onload event because I assume the TOC is controlled purely by xml and you can't add javascript code in xml to display popup message?
Please help.