Forum Discussion
ShaeZeitz
3 years agoCommunity Member
Javascript for sending Storyline 360 text entries via email
Within SL, I've been trying to initiate an email via javascript that contains text entry content, but I cannot get it to work. Essentially, I want the learner to be able to send their notes to thems...
JanetMinchel681
2 years agoCommunity Member
Anyone know how to make this javascript open in Outlook so learners can ask questions? Here is my current JS
var player = GetPlayer();
var email='';
var subject='VCI Complaint Management Question';
var feedback=player.GetVar('MyQuestion');
var emailBody = +feedback
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+encodeURIComponent(emailBody);
win=window.open(mailto_link,'regulatorytraining@vwcredit.com');