- Posts: 13648
- Thank you received: 2491
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Survey summary and Export to PDF
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
2 years 11 months ago #215882
by DenisChenu
If it's 3.X : you have example ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Survey summary and Export to PDF
You say «There are many bugs that I personally would consider much more important to fix»I don't know, Denis. But obviously there are, other wise it would be fixed, wouldn't it?
If it's 3.X : you have example ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11661
- Thank you received: 2742
2 years 11 months ago #215885
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Survey summary and Export to PDF
I would need to search for that now. But I am mainly thinking of LS 4 right now, that needs to become stable.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 years 11 months ago #215888
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Survey summary and Export to PDF
Yes LS4 : yes : 100% right.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- auforg
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
2 years 11 months ago #216011
by auforg
Replied by auforg on topic Survey summary and Export to PDF
I'm glad to say our request for adding these 2 plugins to our hosted instance is being considered!
But now I'm wondering… Will we really be able to effectively use them, while being in a hosted environment where we don't have access to the source code, but only to some plugins "configure" buttons or surveys "Theme editor"?
Could anyone tell us if these plugins require access to the source code installation or if everything (especially the PDF design) can be configured through LimeSurvey's web interface?
TIA!
But now I'm wondering… Will we really be able to effectively use them, while being in a hosted environment where we don't have access to the source code, but only to some plugins "configure" buttons or surveys "Theme editor"?
Could anyone tell us if these plugins require access to the source code installation or if everything (especially the PDF design) can be configured through LimeSurvey's web interface?
TIA!
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
2 years 11 months ago #216012
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Survey summary and Export to PDF
No,
you only use Expression Manager.
If you download the plugin pdfReport there is a demo lss included.
Here a very small example.
Design your report to your wishes in the question text.
you only use Expression Manager.
If you download the plugin pdfReport there is a demo lss included.
Here a very small example.
Design your report to your wishes in the question text.
Code:
<h2>Hier sind die Ergebnisse für {F6a}</h2> {F6a} ist {F6b} Jahre alt und sein Geschlecht ist <strong>{if(F6c==1,"männlich","weiblich")}</strong><br /> <br /> {F6a} kennt folgende Ubuntu-Tiere:<br /> {list(that.F1.shown)} und mag {F3_1.shown} am liebsten {F4.shown}. <h2>Nun die Ergebnisse im einzelnen</h2> <table border="1" collapse="collapse" width="50%"> <thead> <tr> <th class="frage" colspan="3" style="background-color:#30529d;color:white;">F1. Welche der folgenden interessanten Ubuntu-Tiere kennen Sie?</th> </tr> </thead> <thead> <tr> <th class="tdueberq sp6" style="background-color: #B1C2E7;color:black;text-align:left;width:50%"> </th> <th class="tduebera sp3" style="background-color: #B1C2E7;color:black;text-align:center;width:25%" valign="middle">Ja</th> <th class="tduebera sp3" style="background-color: #B1C2E7;color:black;text-align:center;width:25%" valign="middle">Nein</th> </tr> </thead> <tbody> <tr> <td class="tdquestion" style="text-align:left;width:50%">{F1_SQ001.question}</td> <td class="tdanswer" style="text-align:center;width:25%">{if(F1_SQ001=="Y","X","")}</td> <td class="tdanswer" style="text-align:center;width:25%">{if(F1_SQ001!="Y","X","")}</td> </tr> ---
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: auforg
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
2 years 11 months ago #216013
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Survey summary and Export to PDF
Additionally you may have a look at this thread about limeMpdf
[url] forums.limesurvey.org/forum/plugins/1223...nting-surveys#205387 [/url]
[url] forums.limesurvey.org/forum/plugins/1223...nting-surveys#205387 [/url]
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: auforg
The topic has been locked.
- auforg
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
2 years 11 months ago #216026
by auforg
Replied by auforg on topic Survey summary and Export to PDF
Thanks a lot @Joffm for these clear examples!
Now my last concern would be about the scale of our survey: it currently has 124 questions! (yeah… I know… we are working on down-scaling it as much as we can)
So, will a single pdfReport question text space (a textarea I suppose) be able to contain the whole design? Or will we have to split it into multiple pdfReport questions? (is it even possible?)
Also, I understand the generated PDF will then be available as an answer attachment, correct? Because we will need to have a way of retrieving it through API calls after then, in which case get_uploaded_files will be the way, correct?
Now my last concern would be about the scale of our survey: it currently has 124 questions! (yeah… I know… we are working on down-scaling it as much as we can)
So, will a single pdfReport question text space (a textarea I suppose) be able to contain the whole design? Or will we have to split it into multiple pdfReport questions? (is it even possible?)
Also, I understand the generated PDF will then be available as an answer attachment, correct? Because we will need to have a way of retrieving it through API calls after then, in which case get_uploaded_files will be the way, correct?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
2 years 11 months ago #216028
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Survey summary and Export to PDF
1. The question text is implemented as type "text" in the database.
Of course, it's up to you.
Plain
{Q1.question}: {Q1}
{Q2.question}: {Q2.shown}
...
will not require a lot of space.
But if you use a lot of HTML and inline styling, you obviously will need more.
2, The initial requirement was
But there is the method "get_uploaded_files"
Joffm
Of course, it's up to you.
Plain
{Q1.question}: {Q1}
{Q2.question}: {Q2.shown}
...
will not require a lot of space.
But if you use a lot of HTML and inline styling, you obviously will need more.
2, The initial requirement was
Now you add this new oneWhen the end user completes the survey, a summary page is dispalyed.
This seems to be something different.Because we will need to have a way of retrieving it through API calls after then,
But there is the method "get_uploaded_files"
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: auforg
The topic has been locked.
- auforg
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
2 years 11 months ago #216048
by auforg
Replied by auforg on topic Survey summary and Export to PDF
1. thanks for this precision ("text" type in DB); I was more concerned about the "textarea" limits than the DB limits, but we'll see…
2. thanks for the confirmation on "get_uploaded_files"; actually the need to generate a PDF, to be included in some external process, is our main goal, but I agree it was not expressed as such in this thread.
2. thanks for the confirmation on "get_uploaded_files"; actually the need to generate a PDF, to be included in some external process, is our main goal, but I agree it was not expressed as such in this thread.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
2 years 11 months ago #216052
by Joffm
Sorry, I do not understand what you are talking about
There is no "textarea" involved.
You use the question text of a question "file upload".
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Survey summary and Export to PDF
What "textarea"?I was more concerned about the "textarea" limits
Sorry, I do not understand what you are talking about
There is no "textarea" involved.
You use the question text of a question "file upload".
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- auforg
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
2 years 11 months ago #216057
by auforg
Replied by auforg on topic Survey summary and Export to PDF
Well, the "question text", you fill it through a web form, right? And the usual (and largest) text input object in a web form is a <textarea>. So I was wondering if we could hit any limitation here.
I've read since then that some brother limit it to 512 Kio, which surely is large enough for most usage, so we should be ok. But it's funny I can't find any official statement about it… There can't be “no limit” for sure.
I've read since then that some brother limit it to 512 Kio, which surely is large enough for most usage, so we should be ok. But it's funny I can't find any official statement about it… There can't be “no limit” for sure.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 years 11 months ago #216107
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Survey summary and Export to PDF
No (know) browser limit
www.php.net/manual/en/ini.core.php#ini.post-max-size
And if you have a light internet connexion, even 512Ko can take time.
www.php.net/manual/en/ini.core.php#ini.post-max-size
And if you have a light internet connexion, even 512Ko can take time.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.