- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Create a likert scale but move the "not applicable" option to the right
- hugomp
- Offline
- New Member
Less
More
11 years 7 months ago #85678
by hugomp
Replied by hugomp on topic Aw: Re: Aw: Re: Create a likert scale but move the "not applicable" option to the right
Yes, many thanks.
I got it that far.
However, I do not understand why reset all column widths?
I want to keep the original column widths and only set the witdth of the spacer-column.
The indicated extra CSS does not seem to manage it.
I got it that far.
However, I do not understand why reset all column widths?
I want to keep the original column widths and only set the witdth of the spacer-column.
The indicated extra CSS does not seem to manage it.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
11 years 7 months ago #85679
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 Create a likert scale but move the "not applicable" option to the right
You cannot keep the original widths if adding a column. The original widths are in percentages and add to 100 so adding a column wrecks that.
The posted CSS will manage the widths if you reset them.
The posted CSS will manage the widths if you reset them.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 2 months ago #116617
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Create a likert scale but move the "not applicable" option to the right
Did anyone recently test if this JavaScript works fine at the latest Limesurvey 2.05 version?
Is it cross-template compatible/does it work fine with the default template?
Is it cross-template compatible/does it work fine with the default template?
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- mafo
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
8 years 11 months ago #120366
by mafo
I tried to use this JavaScript in combination with LimeSurvey 2.05+ but it did not work . Of course, it is also possible that I've made a mistake.
Replied by mafo on topic Create a likert scale but move the "not applicable" option to the right
Mazi wrote: Did anyone recently test if this JavaScript works fine at the latest Limesurvey 2.05 version?
Is it cross-template compatible/does it work fine with the default template?
I tried to use this JavaScript in combination with LimeSurvey 2.05+ but it did not work . Of course, it is also possible that I've made a mistake.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 11 months ago #120381
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 Create a likert scale but move the "not applicable" option to the right
I have just tested in 2.05 without a problem.
mafo, what template are you using? Do you have any JavaScript errors?
.
mafo, what template are you using? Do you have any JavaScript errors?
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- mafo
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
8 years 11 months ago #120404
by mafo
I created a new template which is probably based on the default template!? After creating the new one I only changed the things you mentioned (in template.css).
I don't get a JavaScript error but JavaScript should work since I already successfully used another script which partially randomizes answers ( manual.limesurvey.org/Workarounds:_Manip...rs_-_Array_questions ).
Do I have to use another template?
Thank you for your help!
Replied by mafo on topic Create a likert scale but move the "not applicable" option to the right
tpartner wrote: I have just tested in 2.05 without a problem.
mafo, what template are you using? Do you have any JavaScript errors?
.
I created a new template which is probably based on the default template!? After creating the new one I only changed the things you mentioned (in template.css).
I don't get a JavaScript error but JavaScript should work since I already successfully used another script which partially randomizes answers ( manual.limesurvey.org/Workarounds:_Manip...rs_-_Array_questions ).
Do I have to use another template?
Thank you for your help!
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 11 months ago #120425
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 Create a likert scale but move the "not applicable" option to the right
Can you provide a link to a live test survey?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- mafo
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
8 years 11 months ago #120432
by mafo
forum-mainz-umfragen.de/index.php/235614/lang-de
Replied by mafo on topic Create a likert scale but move the "not applicable" option to the right
That's it:tpartner wrote: Can you provide a link to a live test survey?
forum-mainz-umfragen.de/index.php/235614/lang-de
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 11 months ago #120463
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 Create a likert scale but move the "not applicable" option to the right
You do have a JavaScript error - "ReferenceError: V3 is not defined".
You have used the question code, not the question ID .
Replace this line:
With this line:
You have used the question code, not the question ID .
Replace this line:
Code:
var qID = V3;
With this line:
Code:
var qID = {QID};
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- mafo
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
8 years 11 months ago #120583
by mafo
Thank you for your great help .
Replied by mafo on topic Create a likert scale but move the "not applicable" option to the right
tpartner wrote: You do have a JavaScript error - "ReferenceError: V3 is not defined".
You have used the question code, not the question ID .
Replace this line:Code:var qID = V3;
With this line:Code:var qID = {QID};
Thank you for your great help .
The topic has been locked.
- mafo
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
8 years 11 months ago #120591
by mafo
Replied by mafo on topic Create a likert scale but move the "not applicable" option to the right
What if I changed
to
such that the head of the array, namely the value labels, gets another background colour.
In this case, the blank column between the last and the next-to-last column also gets the same background colour at its head although there is no text. How can I fix this?
Code:
#limesurvey table.question thead td { background-color: #FFFFFF; }
to
Code:
#limesurvey table.question thead td { background-color: #D6E3EE; }
such that the head of the array, namely the value labels, gets another background colour.
In this case, the blank column between the last and the next-to-last column also gets the same background colour at its head although there is no text. How can I fix this?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 11 months ago #120633
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 Create a likert scale but move the "not applicable" option to the right
Try this:
Code:
#limesurvey table.question thead .spacerCell { background-color: #FFFFFF !important; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.