Answer Relevance Workaround

Mehr
3 Jahre 2 Monate her #135029 von BBCMResearch
I know answer relevance is still in the works, but in the meantime, I was wondering if there was a way to do the following:

I need to set up an array with 10 subquestions and 4 answers.
However, I need the last 3 subquestions to only be able to selection answers 1 & 4 because answers 2&3 aren't applicable.

Help?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
3 Jahre 2 Monate her #135046 von first
I lost you at

...to only be able to selection answers 1 & 4 because answers 2&3 aren't applicable.


Survey Designer and Programmer

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Jahre 2 Monate her #135061 von tpartner
BBCMResearch, what LS version?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Jahre 2 Monate her #135080 von BBCMResearch
Tony, apologies. I use 2.50+, Build 160412

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Jahre 2 Monate her #135081 von BBCMResearch
OMdev, picture a 10x4 array, with middle two columns grayed out for the last 3 rows. Subquestions 1-7 need to be able to choose from all 4 possible answers, but Subquestions 8-10, while staying in the same array, only need to be able to choose from answers 1 & 4.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Jahre 2 Monate her #135105 von tpartner
You can add something like this to the source of the array question text:

<script type="text/javascript" charset="utf-8">		
	$(document).ready(function(){
 
		// Remove contents of ninth row, second and third cells
		$('#question{QID} tr.answers-list:eq(8) td.answer-item:eq(1) *').remove();
		$('#question{QID} tr.answers-list:eq(8) td.answer-item:eq(2) *').remove();
 
		// Remove contents of tenth row, second and third cells
		$('#question{QID} tr.answers-list:eq(9) td.answer-item:eq(1) *').remove();
		$('#question{QID}1 tr.answers-list:eq(9) td.answer-item:eq(2) *').remove();
	});
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Folgende Benutzer bedankten sich: BBCMResearch

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha