User notes that they can print and email

Hi all. I built a course earlier this year that contains a "notes" function to allow users to take a moment to reflect and type their thoughts on certain questions. This is used in place of a typical multiple response/choice type question. Thought I'd share it here with you!

Here are the files:

Screenr Part 1: Demonstration - https://player.vimeo.com/video/204928444

Screenr Part 2: How It Was Built - https://player.vimeo.com/video/204928450

Storyline Source: http://bit.ly/INWKD7

Published Output: http://bit.ly/1gmwbnb

Cheers!

Stephanie

223 Replies
Katie Venit

Can anyone help me with some coding? I'm trying to get the date to appear in the email, but I keep getting a null value. I am a novice on JavaScript, so any help would be appreciated. I suspect it has something to do with the case-- in this script the case for systemDate is as so, but on the script to generate the date it's "SystemDate". However, whenever I try to change either one, I'll close the JS edit window and it won't save my JS edit (meaning, I'll change the systemDate below to SystemDate to match what's in the other code, and it'll revert back to systemDate when I close the JS edit window.) Do I have a ghost?

var player = GetPlayer();

var email=player.GetVar("email");

var subject="Educator Effectiveness Step 2 Completed";

var name=player.GetVar("name");

var date=player.GetVar("systemDate");

var mailto_link='mailto:'+email+'?subject='+subject+'&body='+name+" has completed the Educator Effectiveness Step 2 online module on "+date;

win=window.open(mailto_link,'emailWin');