Question
cfselect and cfloop help
I am working on an event calender application. What I am
trying to achieve is to have 2 drop down lists with the months of
the year in them. I want the selection from the first list field to
define the starting point for the second list field. For example.
The first choice from the 12 months is March. So I want the second
box, located on the same page, to have from March to December as
options. Then there is a submit button.
Then, below, on the same page, I would like to have a dynamic calender generated for the events between the months selected from the form. I have the calender section completed using a db query to populate the table with the events.
I can get this to mostly work by having the form on one page submit to the calender on another page though I cannot get the second list field to update based on the value passed from the first list field, I would really like this to work on a single page so that the user can resubmit different date combinatons on the fly.
Any help anyone can provide me with would be greatly appreciated. Thanks in advance.
Then, below, on the same page, I would like to have a dynamic calender generated for the events between the months selected from the form. I have the calender section completed using a db query to populate the table with the events.
I can get this to mostly work by having the form on one page submit to the calender on another page though I cannot get the second list field to update based on the value passed from the first list field, I would really like this to work on a single page so that the user can resubmit different date combinatons on the fly.
Any help anyone can provide me with would be greatly appreciated. Thanks in advance.