You will have to trap each keystroke, and preferrably retain only the numeric ones for the year. When a valid year is entered, switch the focus to the month field, blurring the year text box.
That is the direction to take, the code, well...
Knowledge is that which can be shown to be the case, and Intelligence is the method one uses to deploy the demonstration of what is the case, everything else is Information.
Bookmarks