Forum Discussion
AliciaSummers
13 years agoCommunity Member
Send results slide via email using Javascript ??
Hello! I'm pretty new to... well... all of this, but I'm a fast learner. I've been toying around with adding Javascript to my Storyline project for some advanced capabilities, and so far I've fig...
TravisSmith1
13 years agoCommunity Member
Hello,
Your JavaScript is wrong. You are missing a semi-colon from the end of the var course... statement, which you don't use so you can just delete it.
----
var player = GetPlayer();
var email=player.GetVar("EmailAddress");
var subject="Assessment Complete";
var body_start="I've just completed my assessment!";
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+body_start;
win=window.open(mailto_link,'emailWin');
- VandanaPa-fcf5810 years agoCommunity Member
Hi Travis,
I tried to use this code but it's not working for me. Could you please help.