Welcome to the LimeSurvey Community Forum

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

dynamic lines

  • aminaamina
  • aminaamina's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 6 months ago - 3 years 6 months ago #222971 by aminaamina
dynamic lines was created by aminaamina
Hello,
pls can u help me ,
if i want to add lines dynamically in a array based on the responses of the previous question, like (just an example) : 
Qst1 :how many countries do you visit ?
==> answer: 3 countries 
and in the next question , it should be shown 3 lines in the array reffering to the 3 countries

   
 thank you
Last edit: 3 years 6 months ago by aminaamina.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 6 months ago #222973 by Joffm
Replied by Joffm on topic dynamic lines
Hi, Amina,
didn't you fill the mask or wasn't it displayed?

To answer your question?
Always consider "What has to be fulfilled that the first / second / third row is displayed?"
The first row ist displayed if the number of countries is greater than 0
The second row ist displayed if the number of countries is greater than 1
The third row ist displayed if the number of countries is greater than 2
and so on.

And exactly this you enter in the subquestion relevance of the array.
1st row: Qst1 gt 0
2nd row: Qst1 gt 1
​​​​​​​3rd row: Qst1 gt 2
...

​​​​​​​Joffm
​​​​​​​

​​​​​​​

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • aminaamina
  • aminaamina's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 6 months ago - 3 years 6 months ago #222989 by aminaamina
Replied by aminaamina on topic dynamic lines
Thank u for your feedback ! it works :) done 
Last edit: 3 years 6 months ago by aminaamina.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose