> @TomG said: > > @huongngo said: > > Hi Tom G, > > Thank you for your comment. I think it's not because of the piped text because I piped the text from previous question. Then, I found that it works in the question with in-page display logic when I change the view from horizontal to vertical. I don't know why. > > Thank you for your help. > > Huong > That's because a horizontal MC uses a table instead of an unordered list. So, "li.Selection" isn't valid for a horizontal MC. > Hi Tom G, Could you help with this? I know very little about javascript. Thank you and best regards, Huong
> @taulph said: > So, something like this, but with the details from your selections appearing on the same page, rather than on the next page after clicking/tapping on the arrow? > > https://northamericanbancard.az1.qualtrics.com/jfe/preview/SV_43c8HcYE9DxSTyd?Q_SurveyVersionID=current&Q_CHL=preview > > > Thank you very much for your time, Taulph. But this also not work for us in this case. We want all linked and in one question in the same page. Kind regards,
> @TomG said: > > @huongngo said: > > Hi, > > I find out that this code work with question without in-page display logic. I am wondering if there is anyway in this case? > > Thank you. > > Huong > > var condition_recode = "${q://QID366/SelectedChoicesRecode}"; > > > > if (condition_recode == '6'){ > > jQuery("#"+this.questionId+" li.Selection").eq(2).hide(); > > To do it on the same page, you can't use a piped value. As @rondev said, you need to use a JS event handler. Hi Tom G, Thank you for your comment. I think it's not because of the piped text because I piped the text from previous question. Then, I found that it works in the question with in-page display logic when I change the view from horizontal to vertical. I don't know why. Thank you for your help. Huong
Hi Taulph, Thank you very much for your time. But I want to have 1 question only. When a group title is selected, the group details are shown right below. If created 2 questions, it is very difficult for the respondent to link the group details with the group title. Do you have any idea for this? Thank you very much. Huong @taulph said: > Good Day, Huong, > > If I understand your request correctly, I believe this can be accomplished by using Display Logic at the answer choice level. > > Here is a link to a less-than 5-minute video I through together to explain what I am thinking. Please, let me know if it helps or if I am off the mark. > > https://youtu.be/UK-vhxwel9M >
Hi, I find out that this code work with question without in-page display logic. I am wondering if there is anyway in this case? Thank you. Huong var condition_recode = "${q://QID366/SelectedChoicesRecode}"; if (condition_recode == '6'){ jQuery("#"+this.questionId+" li.Selection").eq(2).hide();
@ rondev, Can you help review my code, it doesn't work. Thank you so much. Huong var condition_recode = "${q://QID366/SelectedChoicesRecode}"; if (condition_recode == '6'){ jQuery("#"+this.questionId+" .Selection").eq(2).hide();
@AxelS, Thank you but I want to the options multiple choice so Drill down do not work.
@ TomG The code ran when I move it to another question on the next block. Thank you so much for your help. Huong
@ TomG Thank your for your prompt response. I put this Script on addOnUnload() of the same drill-down question, thinking that it is when the page is left. However, it does work. Can you help. Thanks so much! Huong
@rondev - thank you very much for your suggestion. The problem is that respondents can change the flight they want to give feedback so prefill option will not possible in that case. Do you have any other idea for me?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.