Forum Discussion
ElizabethGar282
4 years agoCommunity Member
Printing and email from Storyline - Javascript help please
Hello!
I've been watching tutorials on using JavaScript for printing and emailing gathered content (from variables) throughout the module. I even downloaded a source file WITH the JavaScript and c...
MathNotermans-9
4 years agoCommunity Member
Hi,
1 error found in your script. Referring to 'email' in the variable mailto_link whereas you set your emailadress to sent to to useremail at the start of your code.
Also exchanged all the %%0d%0A-Mumbojumbo% for escape('\r\n').
That returns a new line. As most email-clients use HTML-formatted text, the %0d%0A-codes will not work.
Adding it working..
Kind regards,
Math Notermans