- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Maxdiff/Best-worst scaling design
- rebekahhall54
- Topic Author
- Offline
- New Member
Less
More
4 years 5 months ago #190615
by rebekahhall54
Maxdiff/Best-worst scaling design was created by rebekahhall54
Hello,
I am trying to design a best-worst survey using this workaround:
manual.limesurvey.org/Workarounds:_Quest...mplating#Version_2.5
So far everything is looking good (screenshot shows my current situation) but I am trying to change the column sizes to make the answer option column (middle) bigger.
I have tried following/adapting advice from this forum ( www.limesurvey.org/forum/design-issues/8...mn-width-in-an-array ) but so far have had no luck.
Does anyone know a way I can do this?
Thanks!
I am trying to design a best-worst survey using this workaround:
manual.limesurvey.org/Workarounds:_Quest...mplating#Version_2.5
So far everything is looking good (screenshot shows my current situation) but I am trying to change the column sizes to make the answer option column (middle) bigger.
I have tried following/adapting advice from this forum ( www.limesurvey.org/forum/design-issues/8...mn-width-in-an-array ) but so far have had no luck.
Does anyone know a way I can do this?
Thanks!
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
4 years 5 months ago #190616
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 Maxdiff/Best-worst scaling design
Can you attach a survey export file (.lss) containing only that question and your inserted code?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- rebekahhall54
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
4 years 5 months ago #190617
by rebekahhall54
Replied by rebekahhall54 on topic Maxdiff/Best-worst scaling design
Attached- this is my first experience with JavaScript so I'm thinking the way I'm attempting to do this is completely wrong!
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
4 years 5 months ago - 4 years 5 months ago #190622
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 Maxdiff/Best-worst scaling design
You can adjust the column widths with pure CSS instead of JavaScript.
Something like this in the question source:
Sample survey attached:
Something like this in the question source:
Code:
<style type="text/css"> @media only screen and (min-width: 768px) { #question{QID} col { width: auto !important; } #question{QID} table.ls-answers { table-layout: auto; } #question{QID} .answer_cell_SQ001, #question{QID} .answer_cell_SQ002 { width: 20%; } #question{QID} .ls-answers tbody .answertext { text-align: center; } } </style>
Sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 5 months ago by tpartner.
The following user(s) said Thank You: rebekahhall54
The topic has been locked.
- rebekahhall54
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
4 years 5 months ago #190624
by rebekahhall54
Replied by rebekahhall54 on topic Maxdiff/Best-worst scaling design
That's great, thank you for your help!
The topic has been locked.