Forum Discussion
User notes that they can print and email
Hi. I have been reading this whole thread and adjusting the javascript to print notes to a pdf. This is what I have based on everything I have read:
var player=GetPlayer();
var useremail=player.GetVar("email");
var subject="Living Appfire Values";
var exercisenotes1=player.GetVar("Values1Notes");
var exercisenotes2=player.GetVar("Value2Notes");
var exercisenotes3=player.GetVar("Value3Notes");
var exercisenotes4=player.GetVar("Values4Notes");
var exercisenotes5=player.GetVar("Value5Notes");
var exercisenotes6=player.GetVar("Value6Notes");
var exercisenotes7=player.GetVar("Value7Notes");
var mailto_link='mailto:'+useremail+'?subject='+subject+'&body=
'+"Notes - What Be Human looks like to me:%0d%0A“
+exercisenotes1+"%0d%0A%0d%0A
Notes - What Make it, and Make it Matter looks like to me:%0d%0A“
+exercisenotes2+"%0d%0A%0d%0A
Notes - What Light the Way looks like to me:%0d%0A“
+exercisenotes3+"%0d%0A%0d%0AGeneral Notes:%0d%0A"
Notes - What Getting it Right looks like to me:%0d%0A“
+exercisenotes4+"%0d%0A%0d%0A
Notes - What Thrive on Change, and Grow as a Family looks like to me:%0d%0A“
+exercisenotes5+"%0d%0A%0d%0AGeneral Notes:%0d%0A"
Notes - What Add to the Awesome looks like to me:%0d%0A“
+exercisenotes6+"%0d%0A%0d%0A
Notes - What Build the Flame looks like to me:%0d%0A“
+exercisenotes7+"%0d%0A%0d%0AGeneral Notes:%0d%0A";
win=window.open(mailto_link,'emailWin');
HOWEVER, when I publish it to Review 360 to test it, nothing happens. What in the world am I doing wrong?
I’m not sure, I didn’t look at your code in detail and am away from my desk for the rest of the day. I’ll have a look tomorrow.However, when I entered the code in for the email and print function, I wasn't able to get the windows to even open.
Related Content
- 9 months ago
- 7 months ago
- 8 months ago
- 9 months ago
- 12 months ago