- Posts: 37
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Mimimum date not accepted as valid date
- terryaulenbach
- Topic Author
- Offline
- Junior Member
Less
More
6 years 10 months ago #155201
by terryaulenbach
Mimimum date not accepted as valid date was created by terryaulenbach
I'm using Version 2.56.1+161118 and have created a date question which has the Minimum date set to "+20 days". The pop-up calendar works properly and only allows you to select starting 20 days from now. However, if you select the minimum date as your answer, you get "Answer must be between 14/06/2017 and 20/07/2017" (based on today). I'm using the date format dd/mm/yyyy.
Help!
Help!
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
6 years 10 months ago #155208
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Mimimum date not accepted as valid date
That seems to be a bug, please file a bug report.
In the meantime, it seems that using the Expression Manager date(), time() and mktime() functions works.
In the first screenshot below:
Sample survey attached:
In the meantime, it seems that using the Expression Manager date(), time() and mktime() functions works.
In the first screenshot below:
- Min date is set to the current time plus the number of seconds in 20 days
- Max date is set to 00:00:00 on July 20th, 2017
Sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- terryaulenbach
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 1
6 years 10 months ago #155209
by terryaulenbach
Replied by terryaulenbach on topic Mimimum date not accepted as valid date
Awesome! Thanks, Tony. I especially appreciate the quick response.
The topic has been locked.