Welcome to the LimeSurvey Community Forum

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

Array with conditional pop up questions under each line

  • researcher123
  • researcher123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #232600 by researcher123
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.14.8
Own server or LimeSurvey hosting: Own server
Survey theme/template: Matrix array
==================
I want to design a survey with a matrix-array multiple choice question where depending on the answer in each line an additional open question field pops up. I sketched it up in the picture belowin the attachement: If a person answers doesn't apply, an open question field should pop up in order to ask for the reasons for this answer. For the other possible answers, this field should not pop up. Is this possible within one matrix-array with multiple subquestions (i.e. for each Problem, see picture)? 
 
Attachments:

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232604 by Joffm
Hi,
Keep it simple.
Use an array
and a following question of type "multiple short text" where you ask for the reasons?

like


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • researcher123
  • researcher123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #232606 by researcher123
Hi Joffm,

thank you for your quick response. What logic do you model behind the array, so that only these open question fields pop up where the user answered "doesn't apply"?

Thanks

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232619 by Joffm
Hi,
simple "relevance equation in subquestions"
A relevance equation is a logic term that is either TRUE or FALSE.
If TRUE the subquestion is displayed, if FALSE not.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • researcher123
  • researcher123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #232643 by researcher123
Hi,

this helps us very much. However, we still struggle with addressing the relevant cell of our array matrix. We want to model that the question below only appears if a specific answer (code A1) is selected.

So we tried to refer to this specific answer as such, but it doesn't work:
Q1_SQ001_A1 == TRUE

with Q1 being the code for the array-matrix, SQ001 the code for the subquestion and A1 the code for the answer option. How else can we refer to a specific cell of the array matrix in the relevance equation.

Thanks in advance.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 6 months ago #232649 by tpartner
Code:
Q1_SQ001 == 'A1'

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose