Hi! To change the range of years you can add the following change in the datepicker.js file. Look for this piece of code:
inputShow.datepicker( {
'showOn': 'both',
'buttonImage': params.buttonImage,
'buttonImageOnly': false,
'changeMonth': true,
'changeYear': true,
'altFormat': 'yy/mm/dd',
// Today button does not work (http://dev.jqueryui.com/ticket/4045)
// do not show button panel for now
// TODO: show date picker button panel when bug is fixed
'showButtonPanel': false,
'firstDay': params.firstDay,
'showWeek': params.showWeek,
'dateFormat': params.dateFormat,
'beforeShowDay': function ( date ) {return SFI_DP_checkDate( '#' + input_id + '_show', date );}
} );
Then add the following line inside that block:
'yearRange': 'c-200:c+10',
That will change the range of years (200 in the past from today's year and 10 years in the future). More info can be found in DatePicker documentation.
This post was posted by FrancoIacomella~mediawikiwiki, but signed as FrancoIacomella.