Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Array with dropdown lists

Array with dropdown lists 5 years 5 months ago #58289

  • sari2108
  • sari2108's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
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
The administrator has disabled public write access.

Array with dropdown lists 5 years 5 months ago #58306

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Aw: Re: Array with dropdown lists 5 years 5 months ago #58310

  • sari2108
  • sari2108's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
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?
The administrator has disabled public write access.

Aw: Re: Array with dropdown lists 5 years 5 months ago #58326

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
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)limesurvey.org'"
The administrator has disabled public write access.

Aw: Re: Array with dropdown lists 5 years 5 months ago #58332

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Aw: Re: Aw: Re: Array with dropdown lists 5 years 5 months ago #58353

  • sari2108
  • sari2108's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
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?
The administrator has disabled public write access.

Aw: Re: Aw: Re: Array with dropdown lists 5 years 5 months ago #58358

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
Last Edit: 5 years 5 months ago by DenisChenu. Reason: link correction
The administrator has disabled public write access.

Array with dropdown lists 4 years 6 months ago #73938

  • IoSmith
  • IoSmith's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
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
The administrator has disabled public write access.

Array with dropdown lists 4 years 6 months ago #73942

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
Hello,

You can manipulate value with javascript.

See some example on workarounds documentation.
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
The following user(s) said Thank You: IoSmith

Array with dropdown lists 4 years 6 months ago #73959

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
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)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: IoSmith

Array with dropdown lists 4 years 6 months ago #74036

  • IoSmith
  • IoSmith's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
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) )
.
.
.
The administrator has disabled public write access.

Array with dropdown lists 4 years 6 months ago #74049

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Array with dropdown lists 3 years 6 months ago #92527

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:
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.257 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form