Forum Discussion
BastienMdard
10 years agoCommunity Member
Javascript to print and email notes
Hello,
I am trying to implement Stephanie's javascript method for the learner to be able to print and send his/her notes by email, but I am having some difficulties.
Basically, the print option ...
CurtisKynerd1
9 years agoCommunity Member
I too am trying to create a version of what Stephanie did with creating a way for the learner to email feedback to the instructor. I have a variable called Feedback created in Storyline. Below is my JavaScript: I cannot get the variable to populate the body of the email. I am not fluent in JavaScript. Can anyone show me where the script is failing?
var player = GetPlayer();
var bodytxt=player.GetVar(“Feedback”);
var mailto_link=’mailto:’+curtis.kynerd@nissan-usa.com+’&body='+bodytxt+"%0d%0A";
win=window.open(mail_link,’emailWin’);
Related Content
- 6 months ago
- 2 months ago
- 5 months ago