Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Array (Numbers) Limit Row Answers to 1

More
3 years 6 months ago #224520 by leslieh99
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Theme:

==================
Hey there -

I'm a newby and apologize in advance for my rudimentary questions. The version of LimeSurvey I'm using is hosted by my employer so I don't know where to find my LimeSurvey version. One of my survey questions is Array (Numbers) and I'd like to limit the number of answers in each row to one. The answers are No and Yes so there shouldn't be two.

Thank you!
The topic has been locked.
More
3 years 6 months ago #224521 by tpartner
Why are you using an array-numbers for yes/no? Use a normal array question - www.limesurvey.org/manual/Question_type_-_Array/en

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
3 years 6 months ago #224522 by leslieh99
Thanks @tpartner for your quick response! I chose this because my conditional logic allows users in the previous question to select multiple answers, which create the y-axis questions. If more than one answer in the previous question was selected, the user was only able to select one radio button per column. So I switched to array-numbers with checkboxes. I've included a screen shot, which will hopefully help.
The topic has been locked.
More
3 years 6 months ago #224523 by Joffm
But this doesn't affect the type of array.
Either you use "array filter" or subquestion relevance to display the rows.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
3 years 6 months ago #224524 by leslieh99
@joffm thank you for your comment but I'm not having trouble with the rows displaying. I'd like to limit the number of answers in each row to one and I don't know how to do that.
The topic has been locked.
More
3 years 6 months ago #224525 by tpartner
Use an array question, not array-numbers and not array-by-column.

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: DenisChenu
The topic has been locked.
More
3 years 6 months ago #224526 by leslieh99
@tpartner - that worked perfectly! thank you so much!
The topic has been locked.
More
3 years 6 months ago #224527 by Joffm

I'd like to limit the number of answers in each row to one and I don't know how to do that.

I knew that, but tpartner already had told you to use a normal array.
But afterwards you talked again about array(numbers).

Therefore I just explained that array filter is usable in each array type.

Not more.

Joffm

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: leslieh99
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose