- Posts: 5
- 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
- shirleyorigami
- Topic Author
- Offline
- New Member
Less
More
13 years 3 months ago - 13 years 3 months ago #55157
by shirleyorigami
Create a likert scale but move the "not applicable" option to the right was created by shirleyorigami
Hi guys,
I would like my participants to rate a statement with five possible answers:
Example: Never - rarely - sometimes - often - always
I used an "array" to create these questions.
However, I want to add another option "not applicable"
Example: Never - rarely - sometimes - often - always - not applicable.
Is it possible to create a greater distance in the questiontable between the first five items and the sixth item, so that participants view "not applicable" as a distinct option?
Example: Never - rarely - sometimes - often - always
not applicable.
I would like my participants to rate a statement with five possible answers:
Example: Never - rarely - sometimes - often - always
I used an "array" to create these questions.
However, I want to add another option "not applicable"
Example: Never - rarely - sometimes - often - always - not applicable.
Is it possible to create a greater distance in the questiontable between the first five items and the sixth item, so that participants view "not applicable" as a distinct option?
Example: Never - rarely - sometimes - often - always
not applicable.
Last edit: 13 years 3 months ago by shirleyorigami.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
13 years 3 months ago - 13 years 3 months ago #55167
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 will need to insert blank cells in the table.
Set up your survey to use JavaScript and place the following script in the source of the array question or the group description. Replace "QQ" (line 5) with the array question ID.
Then, add the following to the end of template.css to set styles for your new column and the sub-question widths. Replace "QQ" with the array question ID.
Set up your survey to use JavaScript and place the following script in the source of the array question or the group description. Replace "QQ" (line 5) with the array question ID.
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { var qID = QQ; // Reset column widths $('#question'+qID+' col').attr('width', 'auto'); // Insert new column $('<th class="spacerCell"></th>').insertBefore('#question'+qID+' table.question thead tr th:last'); $('#question'+qID+' table.question tbody tr').each(function(i) { $('td:last', this).addClass('lastCell'); }); $('<td class="spacerCell"></td>').insertBefore('.lastCell'); }); </script>
Then, add the following to the end of template.css to set styles for your new column and the sub-question widths. Replace "QQ" with the array question ID.
Code:
#questionQQ .spacerCell { background-color: #FFFFFF; width: 5px; } #questionQQ tbody th { width: 15%; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 13 years 3 months ago by tpartner.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
13 years 3 months ago #55168
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 Create a likert scale but move the "not applicable" option to the right
Excellent solution by Tpartner again.
Thumbs up!
Thumbs up!
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.
- shirleyorigami
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 3 months ago #55202
by shirleyorigami
Replied by shirleyorigami on topic Create a likert scale but move the "not applicable" option to the right
Thank you very much! I will try it out.
BTW, I receive a lot of 500 errors when I look at the LimeSurvey website.
For instance, this link gives a 500 error as well:
docs.limesurvey.org/tiki-index.php?page=..._etc._in_LimeSurvey_
Error 500!
/tiki-index.php
Internal Server Error!
BTW, I receive a lot of 500 errors when I look at the LimeSurvey website.
For instance, this link gives a 500 error as well:
docs.limesurvey.org/tiki-index.php?page=..._etc._in_LimeSurvey_
Error 500!
/tiki-index.php
Internal Server Error!
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 3 months ago #55214
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
This link work fine for me:
docs.limesurvey.org/tiki-index.php?page=..._etc._in_LimeSurvey_
Though we have updated our wiki software recently and there might be some problems. Please list them all here so we can fix them.
Though we have updated our wiki software recently and there might be some problems. Please list them all here so we can fix them.
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.
- shirleyorigami
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 3 months ago #55216
by shirleyorigami
Replied by shirleyorigami on topic Create a likert scale but move the "not applicable" option to the right
docs.limesurvey.org/
I get the same 500 error over here.
Basically, I cannot access your wiki; but I did a Google search and visited the cached version.
I get the same 500 error over here.
Basically, I cannot access your wiki; but I did a Google search and visited the cached version.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 3 months ago #55222
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
It works fine here.Please try clearing your browser cache.
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 following user(s) said Thank You: shirleyorigami
The topic has been locked.
- shirleyorigami
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 3 months ago #55227
by shirleyorigami
Replied by shirleyorigami on topic Create a likert scale but move the "not applicable" option to the right
Thanks, that was indeed the problem. Other browsers do show the website.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 3 months ago #55317
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
You're welcome!
If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.
Without your help we can't keep this project alive.
If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.
Without your help we can't keep this project alive.
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.
- shirleyorigami
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 2 months ago #56006
by shirleyorigami
Replied by shirleyorigami on topic Create a likert scale but move the "not applicable" option to the right
Is there another option without enabling Javascript? For instance, by changing the template?
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 2 months ago #56011
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
This can also be done by editing the template.css of the template you are using. Check the CSS that is embedded at tpartner's javascript. It should be possible to extract it and assign it to either the whole question type or just a single (or several) question by using the question ID.
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.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
13 years 2 months ago #56018
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
Yoy will need to use JavaScript to insert the extra column. I have already included rules to be added to template.css.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.