Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: A few noob questions : PDF generator, birth date, confirmation email

A few noob questions : PDF generator, birth date, confirmation email 1 year 11 months ago #111366

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5063
  • Thank you received: 749
  • Karma: 227
Well, as we are not knowing what you are actually doing, it is hard to help.

You can either join the columns later when analyzing or as Denis had said before, you can write the the responses from the two columns into one via EM into a hidden question and you would have everything in one column.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

A few noob questions : PDF generator, birth date, confirmation email 1 year 11 months ago #111404

  • limes4LN
  • limes4LN's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
Haaaa, big problem ;)

I've done a fantastic radio list question with expression on each button, for example :
Code 1 :
{if(DanseStyle.code=='A3' AND Genre.code=='A2' AND TypeInscription.code=='A1','Préparatoire 1',if(DanseStyle.code=='A3' AND Genre.code=='A1' AND TypeInscription.code=='A1','Préparatoire 1',if(DanseStyle.code=='A3' AND TypeInscription.code=='A2' OR TypeInscription.code=='A3' ,'Préparatoire',if(DanseStyle.code!='A3' AND TypeInscription.code=='A1','Préparatoire',if(DanseStyle.code!='A3' AND TypeInscription.code!='A1','Préparatoire','S/O')))))}

Code 2 :
{if(DanseStyle.code=='A3' AND Genre.code=='A2' AND TypeInscription.code=='A1','Préparatoire 2',if(DanseStyle.code=='A3' AND Genre.code=='A1' AND TypeInscription.code=='A1','Préparatoire 2',if(DanseStyle.code=='A3' AND TypeInscription.code=='A2' OR TypeInscription.code=='A3' ,'Catégorie 1',if(DanseStyle.code!='A3' AND TypeInscription.code=='A1','Catégorie 1',if(DanseStyle.code!='A3' AND TypeInscription.code!='A1','Catégorie 1','S/O')))))}

In function of what the user choose on the previous questions and his genre, I display only the possible answers.

Problem, when I extract the answers, in the result column, I only see :
{if(DanseStyle.code=='A3' AND Genre.code=='A2' AND TypeInscription.code=='A1','Préparatoire 2',if(DanseStyle.code=='A3' AND Genre.code=='A1' AND TypeInscription.code=='A1','Préparatoire 2',if(DanseStyle.code=='A3' AND TypeInscription.code=='A2' OR TypeInscription.code=='A3' ,'Catégorie 1',if(DanseStyle.code!='A3' AND TypeInscription.code=='A1','Catégorie 1',if(DanseStyle.code!='A3' AND TypeInscription.code!='A1','Catégorie 1','S/O')))))}
:sick: instead of "Préparatoire 1", "Catégorie 1" ( the text displayed on the radio list item, why ?

Thanks !
Last Edit: 1 year 11 months ago by limes4LN. Reason: Typo
The administrator has disabled public write access.

A few noob questions : PDF generator, birth date, confirmation email 1 year 11 months ago #111434

  • limes4LN
  • limes4LN's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
I'm wondering something :
"Equation" question type can work with "Array (Texts)" fields ? Seems not so far.

Thanks
The administrator has disabled public write access.

A few noob questions : PDF generator, birth date, confirmation email 1 year 11 months ago #111445

  • limes4LN
  • limes4LN's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Karma: 0
Damned, I've finished my survey and now, I published it and trying to fill it up and usual and a new problem appears : after the submit, I check the data and all columns are empty ! I only have the date of submission. What I did wrong ? I use to work perfectly a couple hours before :-(
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.278 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form