Hi all,
I have seen discussion for calculating age on the date of respondents taking the survey. I am creating a registration system where survey respondents will enter their DoB, and later in the survey will be presented with the sessions they are eligible to sign up for based on their age at the time of the program. I plan to calculate the age of respondents on 6/15/2023, but am unsure how to code the JavaScript to do so.
I currently have a question type of text response with DD/MM/YYYY format, and tried to use display logic based on these responses but it does not work. I'm hopeful there is a better solution. I will need to create an embedded data point to use for display logic in showing the session selection based on age.
Thank you in advance!
Calculate age based on a future date?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
