Hi,
I'm trying to add a CCK date field where users should select a month-year combination.
This should be in the past, so i've set the setting 'Years back / forward' to -100:+0.
This works perfectly: the year dropdown shows the years from 1908 to 2008.
However, the years in the dropdown start at 1908 and scrolling down gets you to 2008. What i'd like, is to have the items in the dropdown list be in reversed order. So first item in the list would be 2008, and then back to 1908.
I tried changing the 'Years back / forward' setting to '+0:-100' in an attempt to achieve this.
When i checked, this seems to output what i want.
However, i noticed this only works on a new node submission form. When i try editing an existing node, the year dropdown field only shows the year 2008 in the dropdown list. Furthermore, it doesn't seem to save the selected value properly. It saves any date as 2008-12-00 instead.
Is reverse ordering something that should work out of the box? I guess not, since I kind of broke it.
What would i have to do to change the order of the years in the dropdown field?
Comments
Comment #1
choster commentedI tried setting +0:-100 and did not get those years included in the select; instead, I just got "2009." But if this is even partially working it is worth revisiting http://drupal.org/node/206127 .
Comment #2
sdecabooter commentedMarking as duplicate to http://drupal.org/node/206127