Display logic | XM Community
Skip to main content

Q42 is a hidden question where used display logic “preview”. Here i captured data from embedded field. This Q42 is used for loop. 

The problem is, Q42 and loop works correctly in Draft but didn’t work in live/Published and we donot have any real respondent data.

Please elaborate on the display logic applied on Q42 and how  embedded data is captured.


Q42 display logic used
 

and embedded data is captured using js code
 

 


I need to keep Q42 as hidden but record data from previous selection


Hi @Abdus Salam ,

Based on Q42 display logic condition using preview and JS on question addOnload, embedded data were captured because the question was shown and loaded.

If the condition fails, the question will not display, meaning it does not have the opportunity to run the code to capture embedded data.

Perhaps you can either explore other ways of storing the embedded data (example, through survey flow or in a visible question) or if it is possible to use JS codes to "hide" the question.


Leave a Reply