adjusting printanswers.php?

More
4 years 4 months ago #87795 by zunch2000
Hi all,

can someone assist me on adjusting printanswers.php?
Multiple question types Array (MQTA) present the answers in printanswer.php as an array. however, i just want to present the header of the array and the actual answers
For example, if the array is:
genderhappy
maleno

Currently it is presented on printanswer.php as follows:
gender
happy
male
no

and I would like to present it as follows:
gendermale
happyyes

Also, "text-display" question are presented in printanswer.php as follows:
texttextexttexttexttexttexttextexttexttexttexttexttextexttexttexttextempty cell

and I would like to present it as follows:
texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttextexttexttexttexttexttextexttexttexttext

Best regards,
And thank you for any help...
Zunch2000

Please Log in to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #87801 by helper
The current structures of both the print and pdf report generation lacks much to be desired.

My suggestions to the LimeSurvey team:

1. Dump HTML tables and encourage CSS based layouts for print.
2. Create a template system for print/pdf that allows the admin to setup the layouts based on group/question/sub-question.
3. This template system should allow for custom common headers and footers for branding and consistency.

AND/OR.....

1. Create a hook or API that the programmers can intercept the printing functionality to customize as needed.

Added idea to ideas.limesurvey.org
Last Edit: 4 years 4 months ago by helper. Reason: Added idea to http://ideas.limesurvey.org

Please Log in to join the conversation.