- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
array: semantic differential: label after the second to last radio button
- Jan897
- Topic Author
- Offline
- New Member
Less
More
3 years 11 months ago - 3 years 11 months ago #198876
by Jan897
array: semantic differential: label after the second to last radio button was created by Jan897
Is there any way to add a label before first radio button and a label after the second to last radio button ? Unfortunately I do not know any Java.
What I´m trying to do is a semantic differential with a "don´t know" option at the end.
one row:
very unpleasant - 10 radio buttons with 1 to 10 - very pleasant - 1 radio button with Don´t know
I have already tried to change the "no answer option" to " Don´t know" and it works, but then the "no answer" or " don´t know" option is preselected and I think that is very suggestive. Another Problem is that this only works for non mandatory questions and I don´t want people to skip the question.
What I´m trying to do is a semantic differential with a "don´t know" option at the end.
one row:
very unpleasant - 10 radio buttons with 1 to 10 - very pleasant - 1 radio button with Don´t know
I have already tried to change the "no answer option" to " Don´t know" and it works, but then the "no answer" or " don´t know" option is preselected and I think that is very suggestive. Another Problem is that this only works for non mandatory questions and I don´t want people to skip the question.
Last edit: 3 years 11 months ago by Jan897.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 11 months ago #198878
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 array: semantic differential: label after the second to last radio button
Custom question theme - Adjustable Semantic Differential Array -
github.com/tpartner/LimeSurvey-Adjustabl...c-Differential-Array
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The following user(s) said Thank You: Jan897
The topic has been locked.
- Jan897
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
3 years 11 months ago #198880
by Jan897
Replied by Jan897 on topic array: semantic differential: label after the second to last radio button
Thank you so much for the quick reply !
But I can´t add question themes because I am not an admin.
I could email my professor, but it would probably take ages for him to reply and to implement the question in the Limesurvey installation I am using.
Is there any other way?
But I can´t add question themes because I am not an admin.
I could email my professor, but it would probably take ages for him to reply and to implement the question in the Limesurvey installation I am using.
Is there any other way?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12888
- Thank you received: 3965
3 years 11 months ago #198883
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic array: semantic differential: label after the second to last radio button
Hi,
you can use the script that Tony provided before he developped the question theme.
Joffm
you can use the script that Tony provided before he developped the question theme.
Code:
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Define this question var thisQuestion = $('#question{QID}'); // Move the last column $('col:nth-last-child(2)', thisQuestion).before($('col:last-child', thisQuestion)); $('table.subquestion-list tr', thisQuestion).each(function(i) { $('> *:nth-last-child(2)', this).before($('> *:last-child', this)); }); }); </script>
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Jan897
The topic has been locked.