Welcome to the LimeSurvey Community Forum

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

Array Logic

  • acasadei90CRT
  • acasadei90CRT's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 1 month ago #180933 by acasadei90CRT
Array Logic was created by acasadei90CRT
Hi Community,

I'm a new LimeSurvey user and I'm trying to develop the following structure:

1) What is the number of the participants?

2) What is the full name and the date of birth for each participants?

I would like that the second answer was a three columns table, with the following headers (name, surname, date), and the number of rows should have been equal to the number of participants (the answer of the first question).

I would like to know where is the field i need to set in order to implement such a structure.

I thank you in advance.

Best Regards

Andrea
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago #180934 by Joffm
Replied by Joffm on topic Array Logic
Hi, Andrea,
you have to create as many rows in the second question (a matrix(text)) as you expect the maximum number of participants.

Then you use subquestion relevance to display only as many as there are participants.

Example:

File Attachment:

File Name: limesurvey...1733.lss
File Size:29 KB

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: acasadei90CRT
The topic has been locked.
  • acasadei90CRT
  • acasadei90CRT's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 1 month ago #180968 by acasadei90CRT
Replied by acasadei90CRT on topic Array Logic
Thank you very much for your help. :)
The topic has been locked.
  • acasadei90CRT
  • acasadei90CRT's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #184061 by acasadei90CRT
Replied by acasadei90CRT on topic Array Logic
Hello Jiachang28,

I used the Joffm's solution in order to solve my issue.

Thank you for your suggestion.

Best Regards,

Andrea
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #184079 by tpartner
Replied by tpartner on topic Array Logic
Jiachang28 has been blocked - hidden links in posts.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose