Welcome to the LimeSurvey Community Forum

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

How to remove some YEARS of the datapicker ?

  • eduardocosta
  • eduardocosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #115478 by eduardocosta
How to remove some YEARS of the datapicker ? was created by eduardocosta
Hi there,
Is there a way to show only a set of years inside the year combobox in the data picker component ?

Actually when the user press the button [...] the data picker is shown with a long list of years starting on 0 until 2037. I want only years after the current year inside the combobox.

I already choose a date range on the advanced settings but the year list kept the same.
The topic has been locked.
  • eduardocosta
  • eduardocosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago - 9 years 3 months ago #115524 by eduardocosta
Replied by eduardocosta on topic How to remove some YEARS of the datapicker ?
I found the problem, the behavior I want already exists once you set the min and max data range field, however the date you had to type has a format that now follow the locale in my country. Once you have to type the date I added DD/MM/YYYY and the format expected is YYYY-MM-DD.

The field may use the datapicker to choose the date.
Last edit: 9 years 3 months ago by eduardocosta.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose