Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Equation response into PDF

  • arnaudbore
  • arnaudbore's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202013 by arnaudbore
Equation response into PDF was created by arnaudbore
Dear Limesurvey's experts,

I've created an Equation answer when I want to look at the answer as a PDF I end up with an empty value.


If I look at the response detail I've got this:
Code:
[age] {floor(((strtotime(date("Y-m-d"))-strtotime(birthdate))/86400)/365)}          34
The PDF is giving me an empty response


With this question:
Code:
[weightHeight] Poids (metrique):  {if(weightUnit == 'A1', weight, round(weight * .453592,1))} kg Taille (metrique): {if(heightUnit == 'A1', heightCm.code, round(sum(heightFoot_SQ001.code * 30.48,heightFoot_SQ002.code * 2.54),1))} cm

I end up with:
Code:
Poids (metrique): kg
Taille (metrique): cm

Is there a way to get the answer into the PDF ?

Thank you in advance for your help
Arnaud
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202015 by DenisChenu
Replied by DenisChenu on topic Equation response into PDF
What PDF ?

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.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202016 by Joffm
Replied by Joffm on topic Equation response into PDF
Hi, Arnaud,

which version are you using,

I did a very quick check (in 3.21.4) by inserting this equation into a question

In which country you are currently working?
{if(Question21_1=="A1","First item selected","Other item selected")}



and in queXML


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • arnaudbore
  • arnaudbore's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago - 3 years 9 months ago #202041 by arnaudbore
Replied by arnaudbore on topic Equation response into PDF
Hi Joffm,

I'm using Version 3.22.21+200622

I tried a lot of question type: short text (same as you), equation, Text Display and I always end up with an empty response. My first survey had French as Basic Language I tried with only English and it didn't change the result.

So far no clue,

Arnaud
Last edit: 3 years 9 months ago by arnaudbore.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202043 by DenisChenu
Replied by DenisChenu on topic Equation response into PDF
Please ! more explanation : what you want to do? What do you tried ?

And : better : send a lss file with only the question.

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.
  • arnaudbore
  • arnaudbore's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202044 by arnaudbore
Replied by arnaudbore on topic Equation response into PDF
Sorry I thought with Joffm comments it was clearer.

I attached the lss and a screenshot of the response.



I would like to behave as Joffm it means I don't see the response of the question when I extract the responses as PDF.

Thank you for your help
Arnaud
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202079 by DenisChenu
Replied by DenisChenu on topic Equation response into PDF
Ok : QueXML PDF

And … arg … lss broken …

can you export as txt please ? Or update to 3.22.24 ?

And

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.
  • arnaudbore
  • arnaudbore's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202256 by arnaudbore
Replied by arnaudbore on topic Equation response into PDF
Hi,

My admin updated Limesurvey to Version 3.22.24+200630 and now I'm able to export the lss file but I still have the same issue with PDF exportation. I attached the lss file.

Thank you in advance for your help
Arnaud
The topic has been locked.
  • arnaudbore
  • arnaudbore's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202416 by arnaudbore
Replied by arnaudbore on topic Equation response into PDF
Dear all,

Is there anything else I can try, I'm really stuck with this issue.

Thank you again for your help
Arnaud
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202455 by Joffm
Replied by Joffm on topic Equation response into PDF
I do not see any issue in the survey you provided (3.22.24)



Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202456 by Joffm
Replied by Joffm on topic Equation response into PDF
Nor the "normal" pdf report

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • arnaudbore
  • arnaudbore's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202457 by arnaudbore
Replied by arnaudbore on topic Equation response into PDF
Thank you very much joffm, now it really seems to be an error related to the version of limesurvey. I will create a bug report and see how it goes.

Thank you again.
Arnaud
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose