Trouble with flatpickr; embedded data not displaying in question | XM Community
Skip to main content
Solved

Trouble with flatpickr; embedded data not displaying in question

  • 28 May 2024
  • 1 reply
  • 39 views

Forum|alt.badge.img+2

Hello!

 

I’m designing a survey where the time the participants input are manipulated within the survey. In short, I would like to create two new times from what the participant inputted. The following is the JavaScript for the question which stores and creates the two new variables:

The following is a subsequent question which displays the newly calculated times (in a separate new block):

However, the times are not displayed in the preview version. I’ve made sure to include the variables’ names in the survey flow (embedded data list on the very top of the survey).

 

Help on identifying why the new times are not appearing in the survey would be greatly appreciated. Thank you!

Best answer by JoshUR

Never mind; figured it out. I incorrectly wrote my Javacode for the first question.

 

 

 

View original

1 reply

Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 7 replies
  • Answer
  • May 28, 2024

Never mind; figured it out. I incorrectly wrote my Javacode for the first question.