Creating embedded variable thru java script/jquery | XM Community
Question

Creating embedded variable thru java script/jquery

  • 16 July 2020
  • 2 replies
  • 13 views

Userlevel 6
Badge +28
  • QPN Level 5 ●●●●●
  • 257 replies

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

Userlevel 7
Badge +27

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

Userlevel 6
Badge +28

Hi TomG ,

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

Leave a Reply