- Posts: 20
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Subheadings for number array (with responsive support)?
- Magnar
- Topic Author
- Offline
- Junior Member
Less
More
7 years 3 weeks ago #148882
by Magnar
Subheadings for number array (with responsive support)? was created by Magnar
Hello everyone,
I'm fairly new to LimeSurvey itself but worked a lot on custom LS templates for my company since fall 2016. This is the first scenario where I'm hitting a wall.
I have a question with a number array using the checkbox layout. The rows include multiple names and descriptions, with ten columns featuring a two-point rating (good/bad). I want to split these columns into five categories, f.e. Price, Support, Quality etc.
Here's an example of how it's solved right now:
What I want to do is to remove the column description in the headings and put them in their own row at the top, like this:
Is there a way to achieve this in LimeSurvey? And if so, is it compatible with the new responsive layout?
I'm fairly new to LimeSurvey itself but worked a lot on custom LS templates for my company since fall 2016. This is the first scenario where I'm hitting a wall.
I have a question with a number array using the checkbox layout. The rows include multiple names and descriptions, with ten columns featuring a two-point rating (good/bad). I want to split these columns into five categories, f.e. Price, Support, Quality etc.
Here's an example of how it's solved right now:
What I want to do is to remove the column description in the headings and put them in their own row at the top, like this:
Is there a way to achieve this in LimeSurvey? And if so, is it compatible with the new responsive layout?
Attachments:
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 3 weeks ago #148936
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Subheadings for number array (with responsive support)?
The column layout should be doable via Javascript inserting another line on top of the table. I am sure Tpartner has posted similar solutions before here in the forum.
But I see a different problem, because you are using one question, where you actually would need 4. Because the way out layout it right now, people could mark all "good" AND "bad" at the same time.
But I see a different problem, because you are using one question, where you actually would need 4. Because the way out layout it right now, people could mark all "good" AND "bad" at the same time.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
7 years 3 weeks ago #148996
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 Subheadings for number array (with responsive support)?
Rather than an array, which does not behave well responsively anyway, I would use multiple questions for each "row" (a checkbox followed by 4 list-radios) and merge them with CSS so they appear to be single questions. This would give you a vertical alignment that works well on phones.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Magnar
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
7 years 3 days ago - 7 years 3 days ago #150142
by Magnar
Replied by Magnar on topic Subheadings for number array (with responsive support)?
I apologise for the late reply, unfortunately some other things took priority over this matter and I lost sight of it.
Personally I agree with you, but according to our survey admin that's not an issue as it "would pass as a neutral answer". Another problem might be how the JavaScript approach would perform on small devices ...holch wrote: Because the way out layout it right now, people could mark all "good" AND "bad" at the same time.
Floating them together for example? Generally sounds like a good idea, but wouldn't that require a whole lot of CSS in order to keep it responsive? Not to mention that the amount of questions would increase drastically ... it'd create some confusion when firing up the survey statistics, I presume.tpartner wrote: (...), I would use multiple questions for each "row" (a checkbox followed by 4 list-radios) and merge them with CSS so they appear to be single questions. This would give you a vertical alignment that works well on phones.
Last edit: 7 years 3 days ago by Magnar.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
7 years 2 days ago #150172
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 Subheadings for number array (with responsive support)?
I don't mean floated - that implies side-by-side - I meant merged vertically.
Regarding the number of questions and stats view, I don't see any difference, you are already asking several questions per array row and the would not be compared in stats anyway.
Regarding the number of questions and stats view, I don't see any difference, you are already asking several questions per array row and the would not be compared in stats anyway.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.