Forum Discussion
User notes that they can print and email
Hi all. I built a course earlier this year that contains a "notes" function to allow users to take a moment to reflect and type their thoughts on certain questions. This is used in place of a typical multiple response/choice type question. Thought I'd share it here with you!
Here are the files:
Screenr Part 1: Demonstration - https://player.vimeo.com/video/204928444
Screenr Part 2: How It Was Built - https://player.vimeo.com/video/204928450
Storyline Source: https://bit.ly/3Kd96as
Published Output: https://bit.ly/3Z0hj5X
Cheers!
Stephanie
- stantonmackellaCommunity Member
Thank you for sharing Stephanie. This is terrific. I love looking at other people's ideas and solutions to similar requirements and challenges I have encountered in my own courses. This would be a fun course to take.
- StephanieSuper Hero
Hi John. In this case the client doesn't save the notes typed in their LMS.
- StephanieSuper Hero
Owen - the forums took the command literally and embedded it as a hyperlink hence you couldn't see the difference. Here is what I was trying to do:
"<button onclick='javascript:window.print();'>" becomes "<button onclick='window.print();'>"
- NicoleDuclosCommunity Member
Thank you Thank you Thank you! I love this community!!
- KatePetersenCommunity Member
I think I love you! :- )
I've been looking for something like this all day, and you have given us not just the print option, but the email option too, which was not working for me.
Thank you so much,KP
- BrentdeMovilleCommunity Member
Great work! Thank you for sharing.
- MichelleHubchenCommunity Member
I am struggling to get the print and email button to work... Can anyone please help. It is such a great function and I would really like to use it. I have copied Stephanie's Java Script and changed the variables (that is the ones indicated and replaced them with mine) I am not sure what I am missing. I have no Java script experience so I am following her instructions as they are...
Many Thanks
Michelle
- OwenHoltSuper Hero
How are you testing it? Java won't work at all from preview so you have to publish it "to cd" to test the published file from your desktop or publish it using your final setting, host it on the server where it will reside, and test it there. It may be that you've done everything right but that the problem is with how you are testing it.
- OwenHoltSuper Hero
I never could get the print function to work correctly - not even in the downloaded file. The print window with its nice white background opens fine, but the print button in the new window does not function. I've tried both "" and "". Interestingly enough, if I start to change the print code, the email button stops working even though I am not making any changes to it. I settled for just printing the native page using nothing more than window.print(); as the javascript on my button.
- OwenHoltSuper Hero
Made a few modifications and have it working in a slightly different way. Since the problem seemed to be getting the print button to work in the pop-up, I just removed the button from the code and added code to launch the print function auto-magically.
Attached is my modified code. (Working in I.E. 9 but not working in Google Chrome)