Forum Discussion

SarahVaughan-0c's avatar
SarahVaughan-0c
Community Member
5 months ago

Printing from within course

In the attached course I have the learner entering information that at the end needs to be printed and brought to an ILT class. I can get the first 3 responses to print, but the final 3 responses don't. (6 responses total). Ideally the document would also contain the question that was asked. Thank you!! 

  • AndrewHanley's avatar
    AndrewHanley
    Community Member

    Hi Sarah,

    The problem is just because your Javascript on the Summary slide (the print one) isnt complete.

    The JS stops here:

    contents+="<div style='font-size:17px;margin-top:5px;'>Pic 1 Comments</div>";
    contents+="<div style='font-size:17px;margin-top:5px;'>"+pic1comments+"</div>";
    contents+="<div style='font-size:17px;margin-top:5px;'>Pic 2 Comments</div>";
    contents+="<div style='font-size:17px;margin-top:5px;'>"+pic2comments+"</div>";
    contents+="<div style='font-size:17px;margin-top:5px;'>Pic 3 Comments</div>";
    contents+="<div style='font-size:17px;margin-top:5px;'>"+pic3comments+"</div>";

    So its only preparing and printing Comments 1-3.

    Just add in the extra JS for the remaining 3 comments.
    You could also add in the questions here too if you want.

    And bish bash bosh.... it will print it all out :)