Calculating age based on DOB embedded data & current date | XM Community
Question

Calculating age based on DOB embedded data & current date

  • 16 September 2019
  • 2 replies
  • 70 views

Badge
I want to set up a branch in the survey flow where a certain block only shows if participants are 18 at the time of starting the survey. I have DOB as an embedded data. How would I set up the age calculation for current date minus DOB?

2 replies

Userlevel 7
Badge +27
See this comment:
https://www.qualtrics.com/community/discussion/comment/6695#Comment_6695
Badge
Thank you. Where do you add the javascript code?

Leave a Reply