- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Insert answers from input and multiple choice questions to array(numbers) x-axis
- leonas
- Topic Author
- Offline
- New Member
Less
More
5 years 3 months ago - 5 years 3 months ago #178760
by leonas
Insert answers from input and multiple choice questions to array(numbers) x-axis was created by leonas
Hello,
I've been searching for the answer to my following question for some time now, so I decided to ask here.
I need to put answers from previous questions to array(numbers) matrix x-axis, situation:
question1: please name one brand
type: text (short free text)
result: brand1
question2: please name few more brands
type: text (short free text)
result: named-brand1, named-brand2
question3: please select brands that you know (from 10 brands)
type: multiple choice question
result / selected brands: selected-brand1, selected-brand2, selected-brand3
Next, I need that first mentioned brands brand1, named-brand1 and selected-brand1 appear in array(numbers) x-axis and table should look like this:
____________________|__brand1__|__named-brand1__|__selected-brand1__|
evaluation-criteria1 |
evaluation-criteria2 |
evaluation-criteria3 |
evaluation-criteria is evaluated by numbers from 1 to 6.
How do I put answers from previous questions to matrix x-axis? Is it possible? Could you please explain using my example?
I'm using limesurvey online tool version 3.15.5
Thanks.
I've been searching for the answer to my following question for some time now, so I decided to ask here.
I need to put answers from previous questions to array(numbers) matrix x-axis, situation:
question1: please name one brand
type: text (short free text)
result: brand1
question2: please name few more brands
type: text (short free text)
result: named-brand1, named-brand2
question3: please select brands that you know (from 10 brands)
type: multiple choice question
result / selected brands: selected-brand1, selected-brand2, selected-brand3
Next, I need that first mentioned brands brand1, named-brand1 and selected-brand1 appear in array(numbers) x-axis and table should look like this:
____________________|__brand1__|__named-brand1__|__selected-brand1__|
evaluation-criteria1 |
evaluation-criteria2 |
evaluation-criteria3 |
evaluation-criteria is evaluated by numbers from 1 to 6.
How do I put answers from previous questions to matrix x-axis? Is it possible? Could you please explain using my example?
I'm using limesurvey online tool version 3.15.5
Thanks.
Last edit: 5 years 3 months ago by leonas.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
5 years 3 months ago #178763
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Insert answers from input and multiple choice questions to array(numbers) x-axis
Have a look at the Expression Manager documentation and search for "tailoring".
- manual.limesurvey.org/Expression_Manager
- manual.limesurvey.org/Expression_Manager
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: leonas
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
5 years 3 months ago #178765
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Insert answers from input and multiple choice questions to array(numbers) x-axis
But watch out, as you are using open ended questions in your survey, brands might be there duplicated (in the open ends and marked in the list) and how do you choose the brand from the multiple choice question, if there have been marked more than one?
While technically possible, I think the question design has a few flaws.
While technically possible, I think the question design has a few flaws.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- leonas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
5 years 3 months ago - 5 years 3 months ago #178801
by leonas
Replied by leonas on topic Insert answers from input and multiple choice questions to array(numbers) x-axis
Hello there,
Could you please collaborate on your question: " how do you choose the brand from the multiple choice question, if there have been marked more than one?"
I was hoping that some javascript magic would help me, but now I'm asking myself if it's possible to select "first selected" answer from multiple choice questions when there are more than one selected answer and how to approach it?
Could you please collaborate on your question: " how do you choose the brand from the multiple choice question, if there have been marked more than one?"
I was hoping that some javascript magic would help me, but now I'm asking myself if it's possible to select "first selected" answer from multiple choice questions when there are more than one selected answer and how to approach it?
Last edit: 5 years 3 months ago by leonas.
The topic has been locked.