Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

limit of years

  • Hedra01
  • Hedra01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #141312 by Hedra01
limit of years was created by Hedra01
Hello,

I will like used a Date question (dropdown layout) which goes up to 2050, but that blocks at 2037.
Can we find a solution?

Thanks.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 6 months ago #141316 by holch
Replied by holch on topic limit of years
I am not quite sure what you are asking for.

You want to have a date question that goes up to 2050, but blocks at 2037? Why would you want to show those 13 years?

Or do you ONLY want to show until 2037? Or do you only want to show between 2037 and 2050?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: Hedra01
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 6 months ago #141322 by LouisGac
Replied by LouisGac on topic limit of years
You must define a maximum date in the question advanced settings, else it's set to 2037.

See code:
github.com/LimeSurvey/LimeSurvey/blob/ma...anda_helper.php#L943
github.com/LimeSurvey/LimeSurvey/blob/ma...anda_helper.php#L967
The topic has been locked.
  • Hedra01
  • Hedra01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #141359 by Hedra01
Replied by Hedra01 on topic limit of years
It is exactly what I wanted.
thank you
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose