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
  • limes4LN's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 2 months ago #124338 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
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 2 months ago #124344 by holch
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.

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
  • limes4LN's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 month ago - 9 years 1 month ago #124643 by limes4LN
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" ?
Last edit: 9 years 1 month ago by limes4LN.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose