how to customize piped-text responses | XM Community
Skip to main content
Solved

how to customize piped-text responses

  • June 15, 2018
  • 1 reply
  • 186 views

Hello, I was wondering if you know how to customize piped-text responses in Qualtrics so that they appear in uppercase. e.g. if I am asking to provide some initials which I will pipe into questions later, how can I make them always appear in uppercase in the following piped-text questions? Thanks

Best answer by TomG

Put a `<span>` tag with an id where you want the pipe, then use JavaScript to populate it: ``` <span id="mySpanId"></span> ``` Then: ``` jQuery("#mySpanId").html("${q://QID1/ChoiceEntryText}".toUpperCase()); ```

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • June 15, 2018
Put a `<span>` tag with an id where you want the pipe, then use JavaScript to populate it: ``` <span id="mySpanId"></span> ``` Then: ``` jQuery("#mySpanId").html("${q://QID1/ChoiceEntryText}".toUpperCase()); ```