- Posts: 25
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Reduce of answers according to the user birth date
- limes4LN
- Topic Author
- Offline
- Junior Member
Less
More
8 years 6 months ago #124338
by limes4LN
Reduce of answers according to the user birth date was created by limes4LN
Hello,
In my survey, the question A is "What is your birth date?" and i'm using a date field.
In my question B, I have 10 choices but to reduce user errors, I would like to reduce the number of choice according to the age of the user he/she will have at 2016-01-01. Is it possible to do so ?
Thanks
In my survey, the question A is "What is your birth date?" and i'm using a date field.
In my question B, I have 10 choices but to reduce user errors, I would like to reduce the number of choice according to the age of the user he/she will have at 2016-01-01. Is it possible to do so ?
Thanks
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
8 years 6 months ago #124344
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Reduce of answers according to the user birth date
I don't think that conditions can be applied to date questions, but with Expression manager you should be able to check the age (current date minus birthdate) and then show or hide some of the choices via the subquestion relevance equation (available in 2.06 only).
If you do not have 2.06, you could create two questions, one for the younger ones, one for the older ones and also show hide them with relevance equations depending on the age.
If you do not have 2.06, you could create two questions, one for the younger ones, one for the older ones and also show hide them with relevance equations depending on the age.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- limes4LN
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
8 years 6 months ago - 8 years 6 months ago #124643
by limes4LN
Replied by limes4LN on topic Reduce of answers according to the user birth date
Perfect, thanks a bunch. I'm just looking for a concrete example with date, any chance I would find this around ?
I think I should use "Array filter exclusion" ?
I think I should use "Array filter exclusion" ?
Last edit: 8 years 6 months ago by limes4LN.
The topic has been locked.