- Posts: 2
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
No. When you activate a survey the structure in the database table is fixed.Is there a way in Limesurvey to dynamically create questions as I need?
Please Log in to join the conversation.
I have the same question, and I’m struggling with this exact type of dynamic logic in LimeSurvey. I’m also working with multiple array questions where respondents choose Hot / Medium-Hot / Cold, and based on those selections I need to generate follow-up text questions only for the combinations that match certain conditions.Please help us help you and fill where relevant:
Your LimeSurvey version: [6.0]
Own server or LimeSurvey hosting: own
Survey theme/template:
==================
Hello everybody,
I have two array questions looking like below:
Q1. Do you prefer your food Hot Medium/Hot Cold
Food A o o o
Food B o o o
Food C o o o
Q2. Do you prefer your drink Hot Medium/Hot Cold
Drink X o o o
Food Y o o o
Food Z o o o
Both questions are mandatory to be answered.
Based on the answers to these two questions, I need to generate a number of text questions dynamically, only for the Hot and Cold answers. For example.
Q3. I would pay for my Food A and my Drink X .....
If a respondent selects Medium/Hot in both questions Q1 and Q2, then I do not have to generate any new text question at all.
If a respondent select Hot or Cold for question Q1 and only Medium/Hot for question Q2, then I will generate only questions based on the Q1 answers.There may be 3 questions, 2 questions, or 1 question depending on the selection.
....and so on with the logic.
The maximum number of new generated text questions could be: AX, AY, AZ, BX, BY, BZ, CX, CY, CZ.
Is there a way in Limesurvey to dynamically create questions as I need?
Something along the line: if( <<condition is met in previous answer>then <<create new text question>>
The example above is just a simplification. In reality I will have three array questions with 6 items each, so creating a fix number of combinations beforehand will not be feasible.
Thank you for your answer.
Please Log in to join the conversation.
Please Log in to join the conversation.
Thanks for the clarification, and noted on the point about not replying to old threads I’ll make sure to open a new one next time and reference the older topic instead.
I have the same question, and I’m struggling with this exact type of dynamic logic in LimeSurvey. I’m also working with multiple array questions where respondents choose Hot / Medium-Hot / Cold, and based on those selections I need to generate follow-up text questions only for the combinations that match certain conditions.Please help us help you and fill where relevant:
Your LimeSurvey version: [6.0]
Own server or LimeSurvey hosting: own
Survey theme/template:
==================
Hello everybody,
I have two array questions looking like below:
Q1. Do you prefer your food Hot Medium/Hot Cold
Food A o o o
Food B o o o
Food C o o o
Q2. Do you prefer your drink Hot Medium/Hot Cold
Drink X o o o
Food Y o o o
Food Z o o o
Both questions are mandatory to be answered.
Based on the answers to these two questions, I need to generate a number of text questions dynamically, only for the Hot and Cold answers. For example.
Q3. I would pay for my Food A and my Drink X .....
If a respondent selects Medium/Hot in both questions Q1 and Q2, then I do not have to generate any new text question at all.
If a respondent select Hot or Cold for question Q1 and only Medium/Hot for question Q2, then I will generate only questions based on the Q1 answers.There may be 3 questions, 2 questions, or 1 question depending on the selection.
....and so on with the logic.
The maximum number of new generated text questions could be: AX, AY, AZ, BX, BY, BZ, CX, CY, CZ.
Is there a way in Limesurvey to dynamically create questions as I need?
Something along the line: if( <<condition is met in previous answer>then <<create new text question>>
The example above is just a simplification. In reality I will have three array questions with 6 items each, so creating a fix number of combinations beforehand will not be feasible.
Thank you for your answer.
The problem I’m running into is very similar: the number of possible combinations becomes too large to pre-create manually, and I also need LimeSurvey to generate these follow-ups only when the respondent selects Hot or Cold. If all answers are Medium/Hot, then no additional questions should appear at all.
I’ve been looking for a built-in way to dynamically create questions—or at least dynamically show or hide a variable number of text questions—but so far I haven’t found a clean solution. If anyone has experience with dynamically generating question sets or handling large combinational logic like this, I’d really appreciate any guidance.
Please Log in to join the conversation.