Question
bind with cfselect
I need to create two drop down boxes that are dependent on
each other. The first box needs to display the activities and the
second should populate after the user has selected the activity
from the first drop down and should display the dates. I'm running
the query on the page since I need to pass a URL variable to the
query. I've hardcoded the variable to test the query and it seems
to run OK.
I'm definitly not setting up the bind correctly. The error message is "Element ID is undefined in "Activity" (Activity is the name of the cfselect name field). And I may actually have two problems since when I comment out the 2nd cfslect that contains the bind, I get the full list of activities and not just the disctinct ones. I've tried adding "distinct a.act_id" in the query but it doesn't display any differently.
Thanks for the help,
Here's my code:
I'm definitly not setting up the bind correctly. The error message is "Element ID is undefined in "Activity" (Activity is the name of the cfselect name field). And I may actually have two problems since when I comment out the 2nd cfslect that contains the bind, I get the full list of activities and not just the disctinct ones. I've tried adding "distinct a.act_id" in the query but it doesn't display any differently.
Thanks for the help,
Here's my code:
