Is there any way of eliminating / overriding some of the dropdown fields for the years in the date picker on a webform?
The dropdown is massive with years starting from 1920 and going to 2099!!
Its overkill for most scenarios, and also would be good to be able to take out old years as they are over.
I had the same issue, I wanted to use it for DOB so it was silly to have future years in the options. I ended up going with the jQuery UI datepicker, you can do a lot with its options, limiting years is one thing that can be done see the date picker here http://bit.ly/MUExin. and the jQueryUI can now be split into its elements so its nice and small too.
Here is how you can shorten the "year" list:
-paste it into a new file, say http://YOURDOMAIN.COM/js/DatePicker.js
-search for "1970", you will run across this: for(i=1920;i<=2099;i++)
-change it to for(i=2009;i<=2099;i++) or whatever range you need
-lastly you need to link this modified datepicker js in your page instead of the default one here - http://screencasteu.worldsecuresystems.com/Mihai/2012-07-23_1515.png
@MihaiTica - 5 STARS! That was a very helpful answer. Perfectly executed. It took me all of 2 mins to deploy your solution, well done and thanks so much for the simple step by step method to resolving this.