Jul 15th, 2013, 7:59 PM
(This post was last modified: Jul 15th, 2013, 7:59 PM by johnbleck2.)
I posted this in the general discussion area, but I though it would be worth while to post it here as well even though the post is from 2012
Better late than never ey?
For my purpose, I was able to modify the formtools/mysite/themes/default/scripts/jquery-ui-1.8.6.custom.min.js
Looking at the jquery documentation for this widget, I was able to modify the default range for the year pulldown.
Default is yearRange:"c-10:c+10"
I changed it to yearRange:"c-100:c"
If dealing with birth dates, I would suggest c-125:c since we continue to live longer. I think the oldest individual is 120? Anyway, this solves my problem. Just wanted people to know what to modify for increasing the year range in the calendar.
One final note: Avoid using a negative number after the : for this variable. The Max expects to be at least the current date, if you use a negative year for the max, the calendar comes up with bad data.
Better late than never ey?
For my purpose, I was able to modify the formtools/mysite/themes/default/scripts/jquery-ui-1.8.6.custom.min.js
Looking at the jquery documentation for this widget, I was able to modify the default range for the year pulldown.
Default is yearRange:"c-10:c+10"
I changed it to yearRange:"c-100:c"
If dealing with birth dates, I would suggest c-125:c since we continue to live longer. I think the oldest individual is 120? Anyway, this solves my problem. Just wanted people to know what to modify for increasing the year range in the calendar.
One final note: Avoid using a negative number after the : for this variable. The Max expects to be at least the current date, if you use a negative year for the max, the calendar comes up with bad data.