Array Logic

More
6 months 3 weeks 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

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
6 months 3 weeks 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
Attachments:
The following user(s) said Thank You: acasadei90CRT

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #180968 by acasadei90CRT
Replied by acasadei90CRT on topic Array Logic
Thank you very much for your help. :)

Please Log in or Create an account to join the conversation.

More
4 months 1 week 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

Please Log in or Create an account to join the conversation.

More
4 months 1 week 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.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!