Creating embedded variable thru java script/jquery | XM Community
Skip to main content
Question

Creating embedded variable thru java script/jquery

  • July 16, 2020
  • 2 replies
  • 20 views

Appzk
QPN Level 5 ●●●●●
Forum|alt.badge.img+34
  • QPN Level 5 ●●●●●

Is it possible to create n number of embedded variable thru javascript/jquery?
Here n will be the number of options from drill-down question where answer choice will be updated on regular basis.
Q1. Drill down question with answer choice
Q2. Jquery-which is an API returning its result to an embedded variable
Q2 runs for Q1 number of answer choice
So here there might be instance where I have n number of answer choice and I want to create embedded variable as n number of answer choices present

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • July 16, 2020

If you want embedded data fields to be saved in response data, you have to define them in the survey flow.


Appzk
QPN Level 5 ●●●●●
Forum|alt.badge.img+34
  • Author
  • QPN Level 5 ●●●●●
  • July 16, 2020

Hi TomG ,

Is it not possible to create without defining in survey flow?
Since my loop will keep changing every time.