Welcome to the LimeSurvey Community Forum

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

Restricting date selection - no future date

  • sbcha28
  • sbcha28's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #181619 by sbcha28
I'd like to restrict respondents to selecting a past date (ideally gray out any future dates from selection) using the date question type. We've found that people don't pay attention to the year and often pick dates in the future for a question that asks about a past behavior.

I found this post which basically asks the same question but I cannot seem to figure out where to put the code.

www.limesurvey.org/forum/can-i-do-this-w...g-date-question-type

Thanks for any help you can provide!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago #181626 by DenisChenu
Replied by DenisChenu on topic Restricting date selection - no future date
Did you look at manual ?
manual.limesurvey.org/Question_type_-_Da..._date_.28date_max.29

"today" seems a good idea for past date only

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: cdorin
The topic has been locked.
  • sbcha28
  • sbcha28's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #181657 by sbcha28
Replied by sbcha28 on topic Restricting date selection - no future date
Thanks so much for your note, that worked perfectly. I had looked at the manual but for some reason it didn't really click with me what to do until I saw your note. Appreciate your comment despite my thickheaded-ness.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago - 5 years 1 month ago #181662 by DenisChenu
Replied by DenisChenu on topic Restricting date selection - no future date

sbcha28 wrote: Thanks so much for your note, that worked perfectly. I had looked at the manual but for some reason it didn't really click with me what to do until I saw your note. Appreciate your comment despite my thickheaded-ness.

Currently @cdorin try to improve template for user ( manual.limesurvey.org/User:Cdorin )

If you have good idea : maybe you can report issue at the bug tracker (there are a categories Documentation).

And it's a wiki : then you can edit it yourself.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 years 1 month ago by DenisChenu.
The following user(s) said Thank You: cdorin
The topic has been locked.
More
5 years 1 month ago #181703 by cdorin
Replied by cdorin on topic Restricting date selection - no future date
Don't hesitate to share ideas with us as Denis mentioned above. We are looking forward to build a nicer and more comprehensive manual for everyone :)

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • sbcha28
  • sbcha28's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #181745 by sbcha28
Replied by sbcha28 on topic Restricting date selection - no future date
Quick follow-up question, how do I hide the tip that shows up with the date restriction? I clicked on "hide tip" to yes but it's still showing up, I feel like it's pretty confusing to get the tip when I've already put in a date before today.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose