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...
MariaCS
Staff
Hi, Shamina.
Thank you for letting me know! I fixed the link, and you should be able to see the screen recording now.
Since I'm not very knowledgeable in Javascript, and it's not something we support, I'll leave it for our community members to chime in. However, I noticed your code referenced variables that were not in your project.
I changed a few things, and it looks like it's working now. I'm attaching the .story file here.
I hope this helps!
DevanAbia
2 years agoCommunity Member
This is great! It worked like a charm for me. How would I adjust JavaScript so that multiple text variables could be added to the body of the email rather than one?
I tried adding a ‘TextEntry4’ after ‘Reflections’ but it didn’t work.