Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: In print answer and PDF

In print answer and PDF 4 years 8 months ago #72479

  • sammy
  • sammy's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
I test on 1.91RC1, and face a problem in the print answer/PDF that's will include condition questions (The test object to filter/disappear one while control the token attribue value to hidden/show questions).
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72486

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9352
  • Thank you received: 1339
  • Karma: 386
sammy wrote:
I test on 1.91RC1, and face a problem in the print answer/PDF that's will include condition questions (The test object to filter/disappear one while control the token attribue value to hidden/show questions).
Hello,

1.92 ? or 1.91 ?

If 1.91 : please update to the last version.
If 1.92 : RC2 is here, test again , and put a bug report.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72497

  • sammy
  • sammy's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
I test both on 1.92RC1& 1.92RC2
Last Edit: 4 years 8 months ago by sammy.
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72498

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • Karma: 37
Yes, this is a problem with 1.92 RC2. The HTML version of printablesurvey was fully fixed by revision 12151, so will be available in 1.92 RC3. I haven't tested PDF yet.
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72500

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 371
  • Karma: 260
sammy, can you please state which feature/URL you are referring to?

Can you provide step by step instructions on how to reproduce the problem?

You are using version 1.92RC2, correct?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72515

  • sammy
  • sammy's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
My test environment on both 1.92RC1 and 1.92RC2. The steps to do setup / survey as :

1) Create token with an additional attribute with value ('1', '2' and so on)
2) Create a question group and contain two questions.
3) In 2nd question to add condition by token regexp (/^2.*/) to control the display and ask question while do the survey. (It is normal to hidden unmatch condition question.)
4. To complete the survey, in last page to print the result in webpage / outpu to PDF. (Problem in here, you will see all question even ask/no-ask questions)

P.S.
If V1.92RC3 fix it, please give me the code for further test.
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72516

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • Karma: 37
Sammy-
To make testing easier for me, please attach the sample survey you described.

Also, perhaps I misunderstood your original question. I thought it had to do with whether the validation messages would appear.

Instead, it sounds as though you are asking that we ensure that the printed answers only show relevant questions (e.g. questions that were not hidden due to conditions). Is that correct?

/Tom
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72518

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • Karma: 37
Sammy-

You are correct, that was a bug. It is now fixed (revision 12162), and only relevant groups/question/sub-questions will be shown.

/Tom
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72582

  • sammy
  • sammy's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
Hi Tom,

Yes, my question is printed answer in web page or Printed PDF missing condition filter.
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72583

  • sammy
  • sammy's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
Would mind give me th hints, where to get this fixed revision?
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72584

  • sammy
  • sammy's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
The fixed regarding common_function.php and printanswer.php ?
if so, give me the download URL for verify the fixed result in this bug case. Thanks
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72586

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • Karma: 37
sammy-

1.92 RC3 will be coming out soon. You can also download the latest version of limesurvey_dev from SVN.

The printed answers now work properly. The PDF export doesn't look very good, but apparently, it has been broken for over a year and would not be easy to fix. Printing the HTML version to a PDF printer target (there are some free ones) is probably you best bet.

/Tom
The administrator has disabled public write access.

In print answer and PDF 4 years 8 months ago #72619

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 371
  • Karma: 260
You have to wait until we release 1.92RC3 (maybe even today/tomorrow?) or grab the latest source code from our SVN: docs.limesurvey.org/Accessing+the+source...meSurvey+development

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

In print answer and PDF 3 years 10 months ago #88100

  • lfortunato
  • lfortunato's Avatar
  • Offline
  • Junior Lime
  • Posts: 38
  • Thank you received: 1
  • Karma: 1
Following this theme concerning print answers / PDF, I would like to ask something.

I noticed that in the PDF
I can't see the current value of the token, but only the sintax.

For example
in the 'Print you answers' function, I see displayed:
Hello Charlie Ford

whereas in the PDF I don't see the current values of the token, but:
Hello {TOKEN:FIRSTNAME} {TOKEN:LASTNAME}

I'm working on LS ver.1.92 Build 120919

Any suggestions?
Thank you in advance...
The administrator has disabled public write access.

In print answer and PDF 3 years 10 months ago #88102

  • mdekker
  • mdekker's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 343
  • Thank you received: 68
  • Karma: 38
I think that was recently fixed in 2.0 if you want to know for sure you can always try the Demo on this website to see if it works.
---
Menno Dekker
The administrator has disabled public write access.
The following user(s) said Thank You: lfortunato
Time to create page: 0.268 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form