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

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!

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

 

 

 


Leave a Reply