2

This question already has an answer here:

CiviCRM 4.7.3 Currently hard coded to show 10 years in the past, and 9 years in the future.

I would like to override this and set the year range from 1965 to the current date, as described in the docs:-

http://api.jqueryui.com/datepicker/#option-yearRange

marked as duplicate by John, Francesc Bassas i Bullich, William Mortada, Sanjay Jain, Joe Murray May 24 '16 at 19:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

Have you tried adjusting the settings at Administer > Customize Data and Screens > Date Preferences. to achieve what you want?

  • 1
    Hi @JoAnne yes tried updating the default 'custom' offsets, and the custom field date ranges, but neither settings are picked up by the Jquery UI date picker widget. This is not being considered a bug as such, rather a poor design choice: civicrm.stackexchange.com/questions/10319/… so looking for ways to work around the issue. – Darren Apr 6 '16 at 10:03
2

I think the answer may be that this is working in 4.7.7 - set your date range in the Custom Field - Edit screen [I want to go back 30 years]:

Custom Date SE field: enter image description here

And this is indeed giving me a dropdown going back 30 years (I can select 1986): enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.