简体   繁体   English

如何将文本输入问题中的文本管道化为Qualtrics中的突出显示问题?

[英]How can I pipe text from a text entry question into a highlight question in Qualtrics?

I would like to let authors annotate/highlight their own texts in Qualtrics, but I don't seem to be able to pipe the response text from, say, QID1 to the next highlight question. 我想让作者在Qualtrics中注释/突出显示他们自己的文本,但我似乎无法将响应文本从QID1传递到下一个突出显示的问题。 Is this possible in Qualtrics at all? 这在Qualtrics中是否可行?

So, if in the first question a participant writes I love football! 所以,如果在第一个问题中参与者写道I love football! , I'd like I love football! ,我想I love football! to be the highlight text in the second question. 成为第二个问题的重点文本。 The obvious solution with piping (eg, ${q://QID1/ChoiceTextEntryValue} ) doesn't work. 管道的明显解决方案(例如, ${q://QID1/ChoiceTextEntryValue} )不起作用。

Is there maybe a way around this with Javascript? 有没有办法用Javascript解决这个问题? Or am I simply doing something wrong? 或者我只是做错了什么?

You can't pipe a statement into a highlight question. 您无法将语句管道输入突出显示问题。 Think of a highlight question like a likert matrix where the words/phrases are the choices/statements and the answers are agree, disagree, etc. The highlight text you want to pipe has to be parsed into its words/phrases. 想象一个像Likert矩阵这样的高亮问题,其中单词/短语是选择/陈述,答案是一致的,不同意的等等。您想要管道的高亮文本必须被解析为其单词/短语。

It is possible to do this with JavaScript by including the maximum number of words in the original highlight text then have the JS parse the pipe into words and replace or hide the original highlight text words. 通过在原始高亮文本中包含最大字数,然后让JS将管道解析为单词并替换或隐藏原始高亮文本单词,可以使用JavaScript执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM