Piped text - modifying | XM Community
Skip to main content
Solved

Piped text - modifying

  • September 13, 2018
  • 6 replies
  • 122 views

I’m fairly new to Qualtric and seeking some advice. I have a side-by-side question with 3 statements (home, friends, pub) with 1 col with 6 responses (never to everyday). I want to ‘pipe’ the response (never to everyday) to the statement into the next question. Eg, In the side-by-side question (Q1), if a person selects ‘everyday’ (response) for the first statement, which is ‘at home’, the next question is: (Q2) Thinking about a usual drinking occasion when you are drinking {‘everyday’} at home, how much would you usually drink? My problem is I can’t seem to work out how to pipe in the column ‘response’ into Q2. When I go to Q2, I click on ‘Piped Text…’, then ‘Survey Question’, then my Q1, and all the options are based on the statements, and I can’t figure out how to pipe the response. Do I need to build my own code for something like this? For example, if I selected ‘every day – selected choices’ from the list available under Q1 (via piped text… menu), all the statements are piped in. Thinking about a usual drinking occasion when you are drinking ('Home, Friends, Pub') at home, how much alcohol would you usually drink? And I want the piped in text to be ‘everyday’. Sorry for the long question, and thanks in advance for any tips. And I can copy the questions from Qualtric if that helps

Best answer by LaT

> @JanetteM said: > Hi Priyanka, > Thanks for the response. I like the sound of what you suggests, but not sure how to implement it. > How would i create 'embedded variables' and where would i store them? In my Survey Library? > Can you possibly provide an example of the code for the javascript? I will also search the Qualtrics forum for useful code/explanations. > > I also made an error in my original post, the first question containing the three statements and four responses is a 'Matrix Table' not 'Side-by-side'. > > I hope the screenshot of my questions is visible and provide a clear picture of what i'm trying to do. > ! > > Many thanks, > Janette > Follow the image to pipe in the option selected for home(and similarly for friends, pub) !
View original

6 replies

NiC
QPN Level 5 ●●●●●
Forum|alt.badge.img+27
  • QPN Level 5 ●●●●●
  • 255 replies
  • September 13, 2018
hi @JanetteM ! As you can see to get the response of the marked section piped you need to select the highlighted option (Blue) Hope this helps :)

Priyanka_jain
Level 2 ●●
Forum|alt.badge.img+1
  • Level 2 ●●
  • 33 replies
  • September 14, 2018
Hi 👋🏻 Janette, We have to first store these texts to embedded variables by writing if conditions in javascript. Later use these variables for piping purpose.

  • Author
  • 4 replies
  • September 17, 2018
Hi Priyanka, Thanks for the response. I like the sound of what you suggests, but not sure how to implement it. How would i create 'embedded variables' and where would i store them? In my Survey Library? Can you possibly provide an example of the code for the javascript? I will also search the Qualtrics forum for useful code/explanations. I also made an error in my original post, the first question containing the three statements and four responses is a 'Matrix Table' not 'Side-by-side'. I hope the screenshot of my questions is visible and provide a clear picture of what i'm trying to do. ! Many thanks, Janette

LaT
Level 2 ●●
Forum|alt.badge.img+1
  • Level 2 ●●
  • 11 replies
  • Answer
  • September 17, 2018
> @JanetteM said: > Hi Priyanka, > Thanks for the response. I like the sound of what you suggests, but not sure how to implement it. > How would i create 'embedded variables' and where would i store them? In my Survey Library? > Can you possibly provide an example of the code for the javascript? I will also search the Qualtrics forum for useful code/explanations. > > I also made an error in my original post, the first question containing the three statements and four responses is a 'Matrix Table' not 'Side-by-side'. > > I hope the screenshot of my questions is visible and provide a clear picture of what i'm trying to do. > ! > > Many thanks, > Janette > Follow the image to pipe in the option selected for home(and similarly for friends, pub) !

  • Author
  • 4 replies
  • September 17, 2018
Thanks so much Nic_Ugam. Your suggestion worked a treat! think i must have tried all other options in the drop menu other than this... (feel a bit silly that i' missed it). Oh well, least i'm a bit familiar with the forum now. my next task is to modify the placement of labels above numbers in a slider question (i only want the label to be above every second value). If i get stuck, i may seek the communities' advice. Thank again :-)

NiC
QPN Level 5 ●●●●●
Forum|alt.badge.img+27
  • QPN Level 5 ●●●●●
  • 255 replies
  • September 17, 2018
Hi @JanetteM , If you could accept the answer that i posted it would be helpful for the people , coming with a similar query in future. and Happy that i could help :)

Leave a Reply