Store answer from textbox in embedded data | XM Community
Skip to main content

Store answer from textbox in embedded data

  • May 6, 2022
  • 1 reply
  • 28 views

nikita
Forum|alt.badge.img

I would like do store answers from textbox in an embedded data using javascript.
how do i get this done?
is document.getElementById useful?

Thanks a lot in advance

1 reply

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • May 6, 2022

Hi there, you should be able to accomplish this without JavaScript by using the Survey Flow. Create an Embedded Data field after the Block that contains the Text Entry question and then set its value using Piped Text. Your configured Survey Flow might look something like the below:
SurveyFlow_Embed_OE.png