array: semantic differential: label after the second to last radio button

More
2 months 6 days ago - 2 months 6 days ago #198876 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.
Last edit: 2 months 6 days ago by Jan897.

Please Log in to join the conversation.

LimeSurvey Partners
More
2 months 6 days ago #198878 by tpartner
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.
Official LimeSurvey Partner - partnersurveys.com
Attachments:
The following user(s) said Thank You: Jan897

Please Log in to join the conversation.

More
2 months 6 days ago #198880 by Jan897
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?

Please Log in to join the conversation.

More
2 months 6 days ago #198883 by Joffm
Hi,
you can use the script that Tony provided before he developped the question theme.
<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
Attachments:
The following user(s) said Thank You: Jan897

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now