Modify print results pdf
Jun 30, 2019
By
Cheryl Tyler
I am trying to modify the print results report.html file so that we can add a logo or image as well as if the person types paragraphs into an essay or text entry box the results appear as paragraphs as well. At the moment the text is all in one lot. The same if you have a check box question the results all end up in one slide.
ie.
text text text
text text text
text text text
TURNS INTO: text text text text text text text text
checkbox 1
check box 2 etc
TURNS INTO: checkbox 1 checkbox 2
We'd like to tidy it up a little, any suggestions.
6 Replies
Hello Cheryl,
If the file that you were using was in a different format, for example a .txt, the line breaks will not be recognized if you will convert it in .html. You can add <br> after each of the line so it will go to the next line.
For example:
If you want to see this:
test
test
test
It should be written in html as this:
test <br>
test <br>
test <br>
Please let me know how it goes.
Thanks I've added an image of what I'm wanting as well as the amended report.html if anyone can see what part I would need to change. I may have more code than needed as I have been trialing different options. I would appreciate any help.
Hi Cheryl,
This is how i wrote in in html:
<html>
<head>
This is a test.
</head>
<br>
<br>
<body>
This is the 1st line of the 1st paragraph. <br>
This is the 2nd line of the 1st paragraph. <br>
This is the 3rd line of the 1st paragraph. <br>
<br>
This is the 1st line of the 2nd paragraph. <br>
This is the 2nd line of the 2nd paragraph. <br>
This is the 3rd line of the 2nd paragraph. <br>
<br>
This is the 1st line of the 3rd paragraph. <br>
This is the 2nd line of the 3rd paragraph. <br>
This is the 3rd line of the 3rd paragraph. <br>
<br>
</body>
</html>
Attached is how it looked like on the browser.
Thanks for your help. This style HTML doesn't work in the report.html file. I'm after something that picks up what is in the text entry box and feeds into the report.html I have included the html code as attached.
Anyone got any suggestions for amending the report.html file?
I am not sure if converting text entry from an html coded entry box is possible. I tried different text to html converter online and tested paragraph entries but they still showed in one line.
This discussion is closed. You can start a new discussion or contact Articulate Support.