pdfReport - no answers in pdf

Mehr
4 Monate 3 Wochen her - 4 Monate 3 Wochen her #177811 von fmalberto
COM_KUNENA_MESSAGE_CREATED_NEW
Hi,

I installed pdfreport on my limesurvey installation.
I activated the survey and start submiting some awnsers.
I received an email with the attached pdf for each submit.
But the pdf has no answers (just the headers).

Anyone know what I am missing?

Limesurvey Version 3.15.5+181115
PdfReport: Latest Version

Please help!
Thank You
Last edit: 4 Monate 3 Wochen her by fmalberto.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
4 Monate 3 Wochen her #177814 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
Maybe some text in question ?
Did you try with Demo survey ?

gitlab.com/SondagesPro/ExportAndStats/pd...ort/tree/master/Demo

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 3 Tage her #179504 von haule1976
COM_KUNENA_MESSAGE_REPLIED_NEW
Dear Denis,
I have received the notification email after submitting survey. The report pdf file was attached to this email but the pdf file has not content of survey and only one page.
Could you please help me to explain this issue ?
Many thanks for your help!

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 3 Tage her - 3 Monate 3 Tage her #179506 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
What did you put in the question text used for pdf report ?
see gitlab.com/SondagesPro/ExportAndStats/pdfReport#documentation
«The pdf generated take the text of this question»


Did you try with Demo survey ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 3 Monate 3 Tage her by DenisChenu.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her #182487 von haule1976
COM_KUNENA_MESSAGE_REPLIED_NEW
Yes Denis!
I created the question text which used for pdf report.
I also tried to Demo survey, it works.
But pdfreport of another survey has not contents (just the headers) after submitting.
Could you please help me to guide these steps ?
Thank you very much!

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 5 Tage her #182548 von Joffm
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi,
this report is not an automatic report.
You have to design it with HTML and Expression Manager.

Here is a short part of a report I am creating at the moment:
<h3>{TOKEN:FIRSTNAME} {TOKEN:LASTNAME}</h3>

<hr />
<p>You were born at {substr(S2,8,2)+'.'+substr(S2,5,2)+'.'+substr(S2,0,4)} and you are {S1.shown}.<br />
Here the other results::</p>

<table border="1" collapse="collapse" width="80%">
<thead>
<tr style="background-color:#FFFF00;color:#0000FF;">
<th><span style="font-size:12pt">S3. {S3.question}</span></th>
</tr>
</thead>
<tbody>
<tr>
<td style="padding-top:5px;padding-bottom:5px;font-size:8pt">{S3.shown}</td>
</tr>
</tbody>
</table>
<p> </p>
<table border="1" collapse="collapse" width="80%">
<thead>
<tr style="background-color:#FFFF00;color:#0000FF;">
<th colspan="2"><span style="font-size:12pt;">S4. How do you rate the following car brands?</span></th>
</tr>
</thead>
<thead>
<tr>
<th style="background-color: #4C0050;color:white;width:70%">Brand</th>
<th style="text-align:center;background-color: #4C0050;color:white;width:30%">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td style="font-size:9pt" width="70%">{S4_SQ001.question}</td>
<td style="text-align:center;font-size:9pt" width="30%">{S4_SQ001.shown}</td>
</tr>
<tr>
<td style="font-size:9pt">{S4_SQ002.question}</td>
<td style="text-align:center;font-size:9pt">{S4_SQ002.shown}</td>
</tr>
<tr>
<td style="font-size:9pt">{S4_SQ003.question}</td>
<td style="text-align:center;font-size:9pt">{S4_SQ003.shown}</td>
</tr>
<tr>
<td style="font-size:9pt">{S4_SQ004.question}</td>
<td style="text-align:center;font-size:9pt">{S4_SQ004.shown}</td>
</tr>
</tbody>
</table>
<br pagebreak="true" />

<p>You said you know these animals:<br />
{list(that.Q1.shown)}{if(!is_empty(Q1_other),Q1_other,"")}</p>

<table border="1" collapse="collapse" width="80%">
<thead>
<tr style="background-color:#FFFF00;color:#0000FF;">
<th colspan="2"><span style="font-size:12pt;">Q1. Which animals do you know?</span></th>

...

To get an impression how to layout tables, have a look at the examples of the TCPDF documentation:
Especially this: https://tcpdf.org/examples/example_048/

You see you can use all implemented functions of Expression Manager and have access to all variables.

Regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Folgende Benutzer bedankten sich: DenisChenu

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 5 Tage her #182554 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW

Joffm schrieb: Here is a short part of a report I am creating at the moment:

I'm happy to see it was used :).

If you find time : you can test with LimeMpdf : you have access to more class, and some boostrap class.

See pdf done with LimeMpdf (with some sample code), it can be used in option in pdfReport :

This browser does not support PDFs. Please download the PDF to view it: Download PDF



Else : i have a idea about "autogenerated" report, using a new export system if question text is empty. But need to construct the export first …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 2 Tage her #182665 von haule1976
COM_KUNENA_MESSAGE_REPLIED_NEW
Many thanks Joffm!
I am trying to research your guidance. I think I am not good with html :)
Best regards,
HauLe.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 2 Tage her #182667 von haule1976
COM_KUNENA_MESSAGE_REPLIED_NEW
Many thanks your help, Denis!
I am waiting your "autogenerated" report.
Best regards,
HauLe.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha