Forum Discussion
Printing multiple text entry boxes throughout a course as one PDF file
Hi,
I have a course that has a number of text-entry boxes (Essay) which the Learner is required to complete. Rather than printing each slide with a text-entry box individually, I would like to have a slide at the end of the course with a print button that will gather the content in all of the text-entry boxes and save/print to one PDF file.
I know this will require javascript code and as someone who is not experienced with javascript, was hoping someone could provide me with the code.
I have searched through so many threads, and have seen a number of requests for help with this, but I can't seem to find a solution.
Thanks so much in advance.
Lucille
7 Replies
- AlexMilyaev-f86Community Member
I made a video on YouTube where I explained this mechanics. You can download the code and the Storyline file in the comments. Unfortunately, the video does not have English, but I think it will be understandable from the video.
In the video example, the certificate is generated in a web object, but naturally, the code will also work in a trigger via JS.
- LucilleRowland-Community Member
Hi Alex,
Thank you so much for responding to my query.
I had a look at the video on Youtube but couldn't see a Storyline file to download in the comments. Are you able to attach that here?
Thanks again
Lucille
- AlexMilyaev-f86Community Member
This method won't work locally due to security restrictions. To test its functionality, you need to upload the course to Review 360 or an LMS.
- AlexMilyaev-f86Community Member
- LucilleRowland-Community Member
Thanks so much Alex. Will do.
- LisavanderWesthCommunity Member
Hi Alex and Lucille,
I am a little late to the party but just a very big thank you for this! I trawled many posts and tried many different methods, none of which seemed to work as my knowledge on JavaScript is severely limited (I am still learning it myself). Alex, thanks for both the HTML & Story file, I can edit that with my HTML knowledge to adjust it to suit the project I am working on. I usually test it in CodePen or Dreamweaver just to double check that I have the variables in the right place.
Related Content
- 3 months ago
- 2 months ago
- 8 months ago
- 2 months ago
- 2 years ago