Change final course grade.
Can I replace the Submit.results by a Javascript execution amending the final grade and the status of the course?
My script is like this:
var player = GetPlayer();
var score = player.GetVar("UltimaNota");
var lmsAPI = parent;
lmsAPI.SetScore(score, 100, 0);
if(score >= 80){
SetStatus('passed');
}else{
SetStatus('failed');
}
3 Replies
Hi Daniel!
I cannot offer support for JavaScript, but hopefully someone in the community will be able to chime in and provide feedback here. I know we have a lot of people well versed with it.
Hey daniel, Don't have a solution (but trying the same things). Do you have found something duting the last 2 months ?
Hi, Riesseg -- Thanks for reaching out, and as this thread is somewhat dated, it's possible that Daniel is no longer subscribed, so you are welcome to reach out directly via the 'Contact Me' link on his profile page.