In my survey, Q1 asks about the origin of my participants. One answer option is "Afghanistan". When someone answers "Afghanistan", one answer option in Q2 has to be: "Afghan men/women". So in Q2 I don't need the country name, but the derivatives of the answer they selected in Q1.
I used several formulas (like: AfghanistanAfghaanse) --> and then put:
jQuery(".pipedText").hide();
in the JS, but this doesn't work..
Can anyone help me out?
Your question is not entirely clear, but it appears that a drill down question would suit this requirement.
ahmedA thank you for your response! Let me be more clear:
I just want to use the answer a respondent fills in at Q1 in one of my answer options of Q2. But instead of the answer "Afghanistan" I want to use the derivative word "Afghan".
I tried several formulas for this, but I can't figure it out..
emmahouwaard ,
You could format your answer choice like this:
Afghan
Then add this JS to your Q1 question:
jQuery("#"+this.questionId+" .noPipe").show();
TomG thank you! It works!
Last question: why doesn't it work in a dropdown list? Then it still shows all the words..
https://www.qualtrics.com/community/discussion/comment/35421#Comment_35421Because html rules say that option tags can't have child elements. So, tags inside options get stripped by the browser.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.