Hi,
I found out this post when I was desperately looking for a solution for my problem, and tried it but it didn't work.
I wanted to pipe multiple choice responses to another question's text. Assume that I have a question like this:
(in page 1) Q1. what population or group do you think are under-served?
the choices are population A, B, C, D
Assume that the answers are population A and C;
then in page 2, I have another question:
Q2. You indicated {answers from Q1} are under-served....
I got the question text like this:
You indicated population A No answer population C No answer are under-served....
this looks weird so I added in "," between the piped answers, and got this:
You indicated population A, No answer, population C, No answer are under-served....
I tried to get rid of "No answer" so added in the script you posted after Q2:
Q2.You indicated {answers from Q1} are under-served....
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
var qID = QQ;
$('#question'+qID+' label').filter(function() {
return $(this).text() == 'No answer';
}).parent().hide();
});
</script>
BUT IT DIDN'T WORK.
I replaced QQ by the question ID (17751X270X7545, surveyID: 17751; groupID: 270; QuestionID:7545).
I use version 1.91.
Did I miss anything?
Another question--if I successfully hide all "No answer" in the text, the question will end up like this:
You indicated population A,, population C, are under-served....
which still looks weird as a sentence. Is there any way to make the sentence look ok?
Any help would be appreciate!!!