Welcome, Guest
Username: Password: Remember me

TOPIC: adjusting printanswers.php?

adjusting printanswers.php? 1 year 11 months ago #87795

  • zunch2000
  • zunch2000's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
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
The administrator has disabled public write access.

Re: adjusting printanswers.php? 1 year 11 months ago #87801

  • helper
  • helper's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 126
  • Thank you received: 18
  • Karma: 0
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: 1 year 11 months ago by helper. Reason: Added idea to http://ideas.limesurvey.org
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.101 seconds
Donation Image