View Full Version : Open Calendar to a year with value from another field


rnutts
07-19-2008, 05:30 AM
Hi

I have a calendar on a field which a user selects a value from, to help with the selection I want the calendar to appear with the year already set by another control

So if controlA = 2002 then I want the calendar to open at the year 2002, I am not bothered what month as the user will have to select the month themselves

I have tried

calendar0.value=controla

but this just brings up sometime in 1905

Any thoughts

Thanks

Richard