Piped text and embedded data do not appear in questions | Experience Community
Skip to main content
Solved

Piped text and embedded data do not appear in questions

  • Jun 9, 2021 3:07 AM UTC
  • 6 replies
  • 2364 views

Hi, I first set an embedded data in the survey flow: Round1WT = 120.
image.png
Then in the question, i want to pipe text:
image.pngWhy this piped text does not appear in the question? And i want to use this in the javascript. It shows the value is empty. I tried parseInt, and the value is NaN. Why is that? Thanks!!

Best answer by ahmedA

It's most probably because you are previewing the block instead of the entire survey.

View original

6 replies

cbhavsar
QPN Level 4 ●●●●
Forum|alt.badge.img+33
  • QPN Level 4 ●●●●
  • Jun 9, 2021 1:30 PM UTC

Hi,
I believe this is happening as you are setting the embedded data variable after the block.
Please ensure to move Set embedded data block at the very top of the survey.
I hope this solves your difficulties.
All the best with your project.


Forum|alt.badge.img+15
  • QPN Level 4 ●●●●
  • Jun 10, 2021 2:46 PM UTC

Hi,

Please check for 2 things.

  1. Embedded data value is set before Question block is shown, so that embedded field stores 120 before getting displayed in Question text. For such fixed values, setting embedded field at the very top of survey flow should help.

  2. Check for the formatting in HTML view. I see that question text is bolded, so just make sure HTML tags created for formatting is not breaking the piping tags for embedded data

Hope it helps.


  • Author
  • Jun 12, 2021 7:51 AM UTC

https://www.qualtrics.com/community/discussion/comment/38208#Comment_38208Thanks but i set the embedded data at the beginning of the survey flow, before all blocks.


  • Author
  • Jun 12, 2021 7:53 AM UTC

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Jun 12, 2021 12:31 PM UTC

It's most probably because you are previewing the block instead of the entire survey.


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • Jun 12, 2021 12:32 PM UTC

It's most probably because you are previewing the block instead of the entire survey.