Hide text and piped text | XM Community
Skip to main content
Question

Hide text and piped text

  • June 17, 2024
  • 2 replies
  • 131 views

Forum|alt.badge.img+1

Hi there!

 

I am using piped text to create a response summary before respondents submit their responses. 

 

Right now it is set up as 

 

Q1: {Piped Text}

Q2: {Piped Text}

 

Is there anyway for me to set it up where the Q1 and Q2 only appear if there is text in the boxes?

Q1 and Q2 are my custom texts - if there is nothing input into the actual text box the piped text doesn’t show up, but wanted to know if there was a way to get the Q1 and Q2 to hide.

 

All these questions are free text formatting.

 

Thank you in advance!

2 replies

Sachin Nandikol
QPN Level 7 ●●●●●●●
Forum|alt.badge.img+45
  • QPN Level 7 ●●●●●●●
  • June 17, 2024

Hello @IsabelH,

As per my knowledge, there isn't a built-in option to hide the text labels (Q1, Q2) currently. But you can try to achieve this using custom code or JavaScript.


Forum|alt.badge.img+22

Hi @IsabelH ,

 

I am unsure if there are character limitation for embedded data.

Perhaps you can try adding branch logic in survey flow.

For example, if Question 1’s answer is empty, embedded data Q1= .

if Question 1’s answer is not empty, embedded data Q1= custom text.

Then, you can use piped text for {Q1} : {Q1’s answer}.