Display logic | XM Community
Skip to main content
Question

Display logic


Forum|alt.badge.img+2

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.

4 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • May 17, 2024

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


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 10 replies
  • May 17, 2024

Q42 display logic used
 

and embedded data is captured using js code
 

 


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 10 replies
  • May 17, 2024

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


Forum|alt.badge.img+16

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