Certificate and email javascript
Aug 12, 2015
Hi all - I'm at my wits end. I'm living the description of insanity - repeating the same mistakes over and over again and expecting different results. I am trying to generate a certificate (outside of the LMS) and an email but I'm not successful. I created a sample project in order to test. And re-test. And test again. I've googled all of the examples in the forum. I've tried using a certificate.html in my output file as well as building the entire certificate using javascript. I'm testing this on a web server. Here's my testing story file - can anyone show me the light? TIA!
7 Replies
Kate;
I am not a javascript expert so I am not able to troubleshoot this for you but having just stumbled through something similar myself I did learn that if there was even a tiny error in my javascript anywhere, none of it would run. Have you tried breaking it down to small steps and testing to see what sections do work?
Tim
Thanks Tim - I'll try that...
Sorry Kate - I'm not equipped to assist with Javascript either. :-(
Just in case it helps there are some Javascript best practices here. Maybe test out one of those in a course just to confirm you're able to get things working and build from there?
I'm going to throw in the white flag with my attempts to generate an email with JavaScript. What worked before stopped working. Whether it's my agency's internet settings or something else, I just need to finish this project and move on.
So. What are strategies that folks are using for providing notification at the end of a course that is not in an LMS? Are there any good work flows for instructing students to send an email, or somehow be able to demonstrate that the training was completed and the test was passed?
Thanks!
Kate, I did some research on this a few weeks ago for a project. My attached sample might look a little weird, as I had to sanitize the project I was working on to upload it here. See if the javascript code attached to the Email button in this course works in your environment.
Thanks Mike - your code works! But, the thing is.... I'm trying to untangle my project from the JavaScript, since it's becoming more problematic with browsers. I'm actually finishing a module that I may not have the opportunity to maintain, so I'm looking for a clean way of creating notifications and a certificate without relying on JavaScript...
I'm not sure how else you can accomplish that if you want the certificate to be dynamic. I think you're going to have to use some javascript somewhere, but there could be a method of which I'm not aware.
This discussion is closed. You can start a new discussion or contact Articulate Support.