Forum Discussion
Javascript to print and email notes
Joanne, thanks for your help. I appreciate that since I am certainly no JavaScript expert. However, I am still unable to populate the body of the email with my Feedback. Is there something else that I am missing here? I am sure it is something simple, but I just can't seem to find the culprit at this point. Any help is greatly appreciated. If the JavaScript is correct, then I must be in error somewhere else. My Storyline variable, Feedback is populating the text field as it is supposed to do, it is just not showing up in the body of the email.
- JoanneChen9 years agoSuper Hero
Hi Curtis, I took a look at your story file and there are some problems in your JS code.
- You must have correct variable name in JS code. For example: your variable called "email" but you told JS code to execute "emailaddress". And JS can't find "emailaddress" so it fails.
- The symbols " and “ means different to a code. You have to use the symbol " in a code. (JS can recognize "Mes Actions" but not "Mes Actions“)
I also attached your story file with my modification as above.
- JoanneChen9 years agoSuper Hero
Hi Curtis, sorry, the content of repliment above should be for Bastien's file. and if you can share your stroy file, it will be easier for someone to give you feedback or find out what's wrong in your case.
- JoanneChen9 years agoSuper Hero
Hi Bastien, this is for your file. Hope this helps.
Related Content
- 6 months ago
- 2 months ago
- 5 months ago