Check out the LimeSurvey source code on GitHub!

Create a multiple short text for each entry in another multiple short text

3 years 4 months ago #101065 by danSAM
The first question in my survey is a multiple short text. Respondents can make 1-10 entries.

Is there a way I can create a multiple short text to appear for every entry in that question?

I tried using filters, but that's not exactly what I want.

Thanks in advance


Please Log in to join the conversation.

3 years 4 months ago #101068 by holch
Sorry, it is not really clear what you want to do. Could you explain a little further? Maybe show it as a mockup?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

3 years 4 months ago #101070 by danSAM
Ok, I guess what I'd like to do is make questions appear based on the how many entries are made in a multiple short text (MST) question. For example, the first MST question accommodates up to 10 entries.

I want to get more information on each entry, but I don't want to overload the respondent with a bunch of irrelevant questions. If a user only makes two entries in the first MST question, I only want them to get questions related to those entires (and not eight irrelevant ones).

I've had some success with filters so far, but this is pretty limiting. What I'd really like to do is create another MST for each entry.

Something like

x = number of entries in MST1
for (i <=x, create MSTi, i++)

Can this be done?

I hope this explains it better, I'm not sure what a mock-up would be.

Please Log in to join the conversation.

3 years 3 months ago - 3 years 3 months ago #101087 by tpartner
You can use relevance to hide/show the subsequent questions.

So, if the question code for the first question is "Q1", then your relevance equations would be:

count(that.Q1.NAOK) > 0
count(that.Q1.NAOK) > 1
count(that.Q1.NAOK) > 2


Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 3 years 3 months ago by tpartner.
The following user(s) said Thank You: danSAM

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form