Completion of module
Aug 25, 2014
Hello,
I created a training module that will be uploaded to our internal website. I need to receive verification from each person who completed the training module so I added a slide at the end of the module with a submit button that is supposed to send me an email. When I publish and view it on the web, the submit button does not work. Any suggestions on how to get the submit button to work or another idea on how to receive verification of completion without having to upload to a LMS?
Thanks much!
Amy
7 Replies
Hi Amy,
Welcome to the Heroes page...
sending an email requires some java-code
I've attached an example of sending an email from within your project
On your last slide, you just foresee a button, like in the example (email)...
you'll need to publish your project to see the result as Java can not be run from the preview mode
Hope it helps
Cheers
Geert
Hi Amy! Looks like Geert is assisting you here, but I just wanted to pop in and welcome you to E-Learning Heroes
Thanks Geert for the information! If I wanted to have the email sent to a specific email address with a subject description, where would I add that to the java script?
var player = GetPlayer();
var email=player.GetVar("email");
var subject="your subject";
var body_start=player.GetVar("notes");
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+escape(body_start);
win=window.open(mailto_link,'emailWin');
I am not very savy with writing script so I greatly appreciate your feedback!
Thanks much!
Amy
Also, the slide that you sent me works when I publish the project. But when I copied and pasted the slide into my project and then published it, the email button does not work... Any ideas on why this is happening?
Thanks much!
Amy
Hi All - this topic is perfect timing for me! To add to Amy's question on inserting a specific email address and subject line (which I am also keen to know if there's a way!) is there any way to insert the java script / email button on the results slide, or have the user attach the results slide to the email they're sending in?
Hi Amy,
These 2 lines need to be modified
var email=player.GetVar("email");
var subject="your subject";
into
var email="The email address you want"; e.g. var email="my_email@my_office.com"
var subject="The subject description"; e.g. var email="End of the training course"
Regarding your second question, it could be that the macromedia security settings are acting against you.
You'll need to add the drive (or path)where you're running the story.html file from
Cheers
Geert
Thanks Geert! That worked perfectly!
Enjoy your day,
Amy
This discussion is closed. You can start a new discussion or contact Articulate Support.