Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Only appear on printed version

Only appear on printed version 2 Jahre 11 Monate her #60079

  • Mike1985
  • Mike1985s Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 49
  • Karma: 0
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?
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Only appear on printed version 2 Jahre 11 Monate her #60082

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 3844
  • Dank erhalten: 690
  • Karma: 330
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Only appear on printed version 2 Jahre 11 Monate her #60085

  • Mike1985
  • Mike1985s Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 49
  • Karma: 0
D'oh! I should have figured that one out. But that does the job perfectly thank you. tpartner - you are wise!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.130 Sekunden
Donation Image