Restricting date selection - no future date

More
5 months 1 week 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!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
5 months 1 week ago #181626 by DenisChenu
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 .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: cdorin

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #181657 by sbcha28
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.

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago - 5 months 1 week ago #181662 by DenisChenu

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 5 months 1 week ago by DenisChenu.
The following user(s) said Thank You: cdorin

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #181703 by cdorin
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 :)
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #181745 by sbcha28
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.
Attachments:

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!