Check out the LimeSurvey source code on GitHub!

Single Numeric Drop-down List

More
4 years 11 months ago #75413 by LycianSage
Hello!

This is my fourth question and I'm sorry for asking many questions. But I cannot find solutions via Google or on my own. I think this is an easy (and stupid) question and hope someone can quickly answer this.

I am using Version 1.91+ Build 12416.

So, I'm trying to do drop-down lists with numeric values There is "other" option in only some of them. I know how to do it with text items because it is obvious. So, this is about numeric ones.

My lists are:
  • [16..100]
  • [1..7], Other
I first tried Array (number) but it has three problems:
  1. it uses "Other" option for all sub questions
  2. my questions are not sequential
  3. using array for one question is a bad design
Then, I tried List (drop down) but it has this problem(?):

Unlike array (number), there is no automatic numeric value generation (minimum, maximum, and step). Making a label set between 16 and 100 seems not the right way. Therefore I thought that List (drop down) is not meant for single numeric drop-down list.

So, how to make a single numeric drop-down list?

Thank you in advance for any help you can provide...

Please Log in to join the conversation.

More
4 years 11 months ago #75439 by DenisChenu

LycianSage wrote: So, how to make a single numeric drop-down list?

No automatic way.

But you can use a Array (number) with only one subquestion for this.

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).
The following user(s) said Thank You: LycianSage

Please Log in to join the conversation.

More
4 years 11 months ago #75461 by Mazi
Let's approach this problem differently: Can you post a screen shot or drawing on how you want the question to look like and in what context the question should be used/which data you want to collect?!


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: LycianSage

Please Log in to join the conversation.

More
4 years 11 months ago #75506 by tpartner
Can you use numeric questions with slider options and the add text questions for the "Other"? You can use CSS to make the text question appear to be part of the numeric question.

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: LycianSage

Please Log in to join the conversation.

More
4 years 11 months ago #75631 by LycianSage
Thank you all guys!

I added an image which depicts a drop down list that I need below.

I will ask for the age of the respondent: "What is your age?" The answer need to be between 16 and 100.

In another question I ask for the year of enrollment which is between 1 and 7 and there is an other option.

The reason for asking for this is that, with List (Dropdown), I must enter all 95 numbers manually. And Array is for multiple questions. I thought that a "List (Numeric Dropdown)" is a simple component that is needed for most of the researchers and there must be a way for doing it without arrays or css. Because it is a simple widget. It should exist.

Thanks already for your time. Waiting for your reply.

PS:
(Sorry for bad English)
Here is the image:

Please Log in to join the conversation.

More
4 years 11 months ago #75638 by tpartner
I think from a a usability standpoint, I would prefer numeric inputs (with some validation) for questions like "Age". I'm not a fan of big long dropdowns.

Having said that, you can use the Quick Add option for long lists:


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The following user(s) said Thank You: LycianSage

Please Log in to join the conversation.

More
4 years 11 months ago #75659 by Mazi
You can use a numeric array question type and set min/max and step values and don't need to add any answers, see docs.limesurvey.org/Question+types&struc...urvey#Array_Numbers_


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: LycianSage

Please Log in to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #75737 by LycianSage
Hello friends!

From a usability standpoint, I would prefer numeric inputs too and used numeric inputs in Turkey. But for the USA sample, my Yankee colleagues told me that in the USA, respondents won't bother using keyboard if I use numeric inputs and a serious proportion of them just skips the question. So this is why I'm trying to do it with mouse-clickable stuff.

From our discussion, I understand that the only options are "Array (Numbers)" or "List (dropdown)" with manual entry.

I summarized my artguments in this image I hope LimeSurvey developers provide Single Numeric Drop-down List in the future releases. This can be easily handled within "List (dropdown)." just a few more lines of code. Or a separate question type (which would be better).

Last Edit: 4 years 11 months ago by LycianSage.

Please Log in to join the conversation.

More
4 years 11 months ago #75780 by Mazi
Thanks for your feedback. You can add this as a feature request at our feature tracker . Please describe your idea as detailed as possible and try to outline a suitable solution/implementation as well.


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
4 years 7 months ago #83250 by CatherineA
Hi!
I am interested in doing a slider bar plus I want to the add one option ( that participant can click on, named "Other").
Does anyone has any idea about how I could do this?
Thanks in advance.

Please Log in to join the conversation.

More
4 years 7 months ago #83252 by tpartner
You will need to use two questions - a multiple-numeric (with slider setting) followed by a short-text or numeric input.

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.

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