This content has been marked as final. Show 3 replies
I don't know why your calendar does not load, but I'm curious about why you have more than one form. The user can only submit one of them.
By the way, I see no cfoutput tag. Is that something you stripped away for brevity?
Finally, how many records did your query return?
I went with separate forms as the requirements call that the user should only submit one update. In fact, the business rules never call for a scenario to be updating more than one at a time so I thought it would be easier just to break them out as individual forms.
Regarding the <cfoutput> tags. I do not have cfoutput tags around the calendar section, but it does not appear to be affecting the dynamic outputing of my calendar name. When I do a view on source of the output page, I see name="Calendar_6665758" which is what I expected. I tried to include the <cfoutput> around the <cfcalendar> but it did not make a difference.
The query is returning 2 records.
Well.. not sure why, but when I pull the <cfform> tags out of the loop, it did work successfully showing a new calendar for each row. Thanks Dan for leading me in the right direction with your question.