I don't really know how to describe this, but I have two form fields where one is dependent on the other and needs to change if the user selects something from the first field.
I'm just trying to allow for a date selection. I have two drop down menus, month and day, and since the number of days in a month depends on the month, I need the drop down day menu to only list days in the month that is selected. What I want to do is have the drop down day menu change whenever the user picks a month. Kind of like what happens on Nvidia's Driver Select page, only with a drop down menu instead of a list or whatever you would call that. I tried looking at the source code there but couldn't really make much out of it.
I do have a simple switch statement that determines how many days are in the current month, and I plan to use a simple for loop to create the select statements for the day menu. I'm not going to bother posting any of the code because I feel like its pretty obvious and just takes up a lot of space, but if anyone would like to see what I have, I'll put it up.
Any help is appreciated.