Check out the LimeSurvey source code on GitHub!

Only appear on printed version

More
5 years 8 months ago #60079 by Mike1985
Here's one...

Can you edit your answer options so that text next to it (ie "Go to Question 3" meaning to skip question 2) only appears on the printed version.

I'm asking because my customer wants printed versions of all the surveys and they're not keen on the 'conditions' and 'senarios' bit that prints out. Maybe that's confusing hopefully my attachment will clarify things.

Is there some "only show on print version" in the CSS that LimeSurvey uses?
Attachments:

Please Log in to join the conversation.

More
5 years 8 months ago #60082 by tpartner
Try this:

1) Wrap thge insructional text in a a span with a class of "printOnly". So the source of the answer would be something like:
No <span class="printOnly">[Go to question 11]</span>

2) Hide the span(s) in the online survey - add the following to the end of template.css:
.printOnly {
	display: none;
}

3) Show the span(s) in the printed survey - add the following to the end of print_template.css:
.printOnly {
	display: inline;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 8 months ago #60085 by Mike1985
D'oh! I should have figured that one out. But that does the job perfectly thank you. tpartner - you are wise!

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form