How to print the contents of a textbox on paper with Javascript?

Nov 20, 2020

Hi!

We have an exercise consisting of 9 free text entry slides. On the final slide, the learner can see all his/her answers in one scrollable textbox containing %textEntry% variables. Our client would like to have a Print button, with which the learner can print out all his/her answers on paper. We have tried using "window.print();", but the issue is that the textbox is scrollable, and this line only prints out what is visible on the screen.

 

Does anyone have any suggestions how I can print out all the information in the text box using Javascript?

Thank you in advance!

1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.