Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

validate age in numeric questions

I have a numeric question 'S6' asking what year the respondent was born.

A subsequent numeric question 'A1' asks respondents how old they were when they first experienced a symptom

Is there a way to make sure the age response for A1 falls within an age range of 3 - current age (calculated from variable 'S6')?

Even though S6 asks for year of birth and A1 asks for age?
asked Mar 3 by kaitlana (180 points)

1 Answer

0 votes
In A1's settings, set the minimum value to 3 and the maximum value to this:

[% 2019 - S6 %]
answered Mar 4 by Zachary Platinum Sawtooth Software, Inc. (114,750 points)
...