Forum Discussion
KarlWhitburn-09
5 years agoCommunity Member
Modifying a variable so it displays the name and not the string.
I have managed to set a variable as a web address, then i use this variable to add to the body of an email i am building using JavaScript, as you can imagine, the address is long, it all works, my c...
KarlWhitburn-09
5 years agoCommunity Member
Thanks for this, but i am still struggling, not being that technical:
- I created a new variable-text called 'LearningPath'.
- I use a trigger when the slide is accessed to update the variable to LearningPath = https://community.articulate.com/
I have created some JavaScript to build an email and used the following:
- var Path = player.GetVar("LearningPath")
I use Path in the email build here:
- var emailBody = 'Congratulations!!!' + '\n' + '\n' + 'Your Score is at the top ' + '\n' + 'Your route is: ' + Path
Is it possible to replace the https://community.articulate.com/ with 'Your learning path'?
I am not skilled enough to figure it out...
Related Content
- 12 months ago
- 7 months ago
- 12 months ago