Check out the LimeSurvey source code on GitHub!

Array with dropdown lists

More
5 years 10 months ago #58289 by sari2108
Hi guys,

Is it possible to create an array with dropdown lists? But I only need one column. I attached an example!



Thanks in advance!

Sari
Attachments:

Please Log in to join the conversation.

More
5 years 10 months ago #58306 by DenisChenu
Hello,

Do an array (number) with only one X subquestion.

docs.limesurvey.org/Question+type+-+Arra...tions+for+LimeSurvey

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 10 months ago #58310 by sari2108
Thanks! But I need a dropdown list with text and not with numbers. Is it possible to change the settings to get such an array?

Please Log in to join the conversation.

More
5 years 10 months ago #58326 by Mazi
You can use an array question and use the dropdown question attribute to change the display: docs.limesurvey.org/Question+type+-+Arra...tions+for+LimeSurvey


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 10 months ago #58332 by DenisChenu

Mazi wrote: You can use an array question and use the dropdown question attribute to change the display: docs.limesurvey.org/Question+type+-+Arra...tions+for+LimeSurvey

Yes,

But then use the 1.91RC5 ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 10 months ago #58353 by sari2108
I don't have the opportunity to select dropdown instead of radio buttons. There is no field for that in the advanced settings. Is that what you meant by your statement. Do I need another release?

Please Log in to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #58358 by DenisChenu

sari2108 wrote: Do I need another release?

Yep,

if you want the select box included in the LimeSurvey core. Actually there are some part of documentation referring to 1.91 version.

See : my post www.limesurvey.org/forum/installation-a-...-lists?lang=en#58332

:)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 5 years 10 months ago by DenisChenu. Reason: link correction

Please Log in to join the conversation.

More
4 years 11 months ago #73938 by IoSmith

sari2108 wrote: Hi guys,

Is it possible to create an array with dropdown lists? But I only need one column. I attached an example!



Thanks in advance!

Sari


I need the same thing but every dropdown box has different possible answers.
Any ideas?
I tried the latest RC release but there is no such feature.
Version 1.92 RC3 Build 12204

Please Log in to join the conversation.

More
4 years 11 months ago #73942 by DenisChenu
Hello,

You can manipulate value with javascript.

See some example on workarounds documentation.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: IoSmith

Please Log in to join the conversation.

More
4 years 11 months ago #73959 by Mazi
Currently you have to either splitt it up into several questions or add all answer options to the list (for Q1, Q2 + Q3) and then use JS to hide the ones which do not apply for the according question. This can be done by using Javascript. You should find some examples at manual -> workarounds.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The following user(s) said Thank You: IoSmith

Please Log in to join the conversation.

More
4 years 11 months ago #74036 by IoSmith

Mazi wrote: Currently you have to either splitt it up into several questions


I suppose single questions.ok.
Is there a way that every single questions is shown within the same row with the dropdown box? One way i think is to edit the template.

What i want is the visual result of the array, not the all-in-one question:
question1 dropdown-box1 ( question type: single choice (List dropdown) )
question2 dropdown-box2 ( question type: single choice (List dropdown) )
question3 dropdown-box3 ( question type: single choice (List dropdown) )
.
.
.

Please Log in to join the conversation.

More
4 years 11 months ago #74049 by DenisChenu
Hello,

Maybe you can use some javascript to have single question.

I think of:
Array | use dropdown
In answer put somethink like this for code:
1CODE1
1CODE2
1CODE3
2CODE1
2CODE2
3CODE3

And after in jquery .remove the option starting with 2 or 3 in the first row, with 1 and 3 in the second row ....

Need some work and time, but you it can make what you want exactly.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
3 years 11 months ago #92527 by StuartMark0
Hi,

How can I insert text Array Text/Number into the drop down? I could not find if this was answered at the beginning. What are the other possibilities?

Image attached.

Cheers
Attachments:

Please Log in to join the conversation.

More
2 months 3 weeks ago #143780 by ScottBeeson

Mazi wrote: You can use an array question and use the dropdown question attribute to change the display: docs.limesurvey.org/Question+type+-+Arra...tions+for+LimeSurvey


"Dropdown question attribute"? What? Is this a thing still (5 years later)?

Please Log in to join the conversation.

More
2 months 3 weeks ago #143782 by Joffm
well, this thread is nearly four years old.

but you may have a look at the arrayTextAdapt plugin.

regards
Joffm

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form