- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Multiple dropdown choices in one question
- AWGAWG
- Topic Author
- Offline
- New Member
Less
More
6 years 1 week ago #167150
by AWGAWG
Multiple dropdown choices in one question was created by AWGAWG
I can't find a way to put more than one drropdown under a single question (5, in my case). Something like.
QUESTION: How many countries did you visit for each continent?
Europe: [DROPDOWN with numbers from 0 to number of european countries]
America: [DROPDOWN with numbers from 0 to number of american countries]
Asia: [DROPDOWN with numbers from 0 to number of asian countries]
Africa: [DROPDOWN with numbers from 0 to number of african countries]
Oceania: [DROPDOWN with numbers from 0 to number of oceanian countries]
Basically I need to transform the basic "Multiple Numerical Input" type into a "Multiple Dropdown Input".
I can't use the basic "Multiple Numerical Input"type because people could make mistake and type, for example, 11 instead of 1 without realizing.
Is this possible somehow?
I am aware I could just create 5 different dropdown questions but I have MANY questions like this one, and multiply everything by 5 is going to explode my survey!
Thank you to anyone willing to help me on this.
A.
QUESTION: How many countries did you visit for each continent?
Europe: [DROPDOWN with numbers from 0 to number of european countries]
America: [DROPDOWN with numbers from 0 to number of american countries]
Asia: [DROPDOWN with numbers from 0 to number of asian countries]
Africa: [DROPDOWN with numbers from 0 to number of african countries]
Oceania: [DROPDOWN with numbers from 0 to number of oceanian countries]
Basically I need to transform the basic "Multiple Numerical Input" type into a "Multiple Dropdown Input".
I can't use the basic "Multiple Numerical Input"type because people could make mistake and type, for example, 11 instead of 1 without realizing.
Is this possible somehow?
I am aware I could just create 5 different dropdown questions but I have MANY questions like this one, and multiply everything by 5 is going to explode my survey!
Thank you to anyone willing to help me on this.
A.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
6 years 1 week ago - 6 years 1 week ago #167152
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 Multiple dropdown choices in one question
The only solution would be to insert your own dropdowns into a multi-short-text via JavaScript but you will end up with just as many columns in the data as with separate questions.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 6 years 1 week ago by tpartner.
The topic has been locked.
- AWGAWG
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
6 years 1 week ago #167153
by AWGAWG
Replied by AWGAWG on topic Multiple dropdown choices in one question
Not a problem. I'l l try to understand how to do the JavaScript insertion, that could solve my problem. Thank you very much.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12908
- Thank you received: 3970
6 years 1 week ago - 6 years 1 week ago #167154
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Multiple dropdown choices in one question
Hi,
unfortunately you did not tell us, which LS version you are using.
In version 2.50-2.73 you could use the plugin "arrayTextAdapt"
Here a small example.
Joffm
unfortunately you did not tell us, which LS version you are using.
In version 2.50-2.73 you could use the plugin "arrayTextAdapt"
Here a small example.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 6 years 1 week ago by Joffm.
The topic has been locked.