Hi Qualtrics team,
I have a survey where respondents are directly asked for their age (e.g., via a numeric entry question). I’d like to automatically calculate their year of birth based on the age they provide and store it in an Embedded Data field.
For example, if a respondent enters “30” and the current year is 2025, I’d like the survey to store 1995 as their year of birth.
Could someone guide me on:
-
How to set up the calculation using Survey Flow and Embedded Data?
-
Whether I need to use JavaScript within the question, or if this can be done directly via Piped Text and math operations in Qualtrics?
-
How to ensure the calculation updates automatically depending on the current year?
I think it can be very useful to create gruoups such as Gen Z, Millenials, etc...
Thanks in advance for your help!