Welcome to the LimeSurvey Community Forum

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

Date field limited to "yyyy-mm" - overwritten by "now" function?

  • mascarpone
  • mascarpone's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #128310 by mascarpone
Hi Folks!

Here it is: I want to capture only MM-YYY from my respondants.
I've set a Date type question and have limited the format in advanced settings to "yyyy-mm".

The question opens with a calendar/dropdwon type question offering month/year as needed - but at the bottom left of that "calendar" there's a now button: whn I rpess that, it also records the HH:MM... not a big problem really but quite confusing for respondants I think.

I didn't find a way to de-activate that option from the advanced settings - any diea whether this is possible?

Thnaks!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128316 by tpartner
Try adding this to the end of template.css:

Code:
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    display: none;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • mascarpone
  • mascarpone's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago - 8 years 5 months ago #128331 by mascarpone
Thanks for the tip tpartner, will try that asap!
Last edit: 8 years 5 months ago by mascarpone.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose