Update:
If you are getting an error on submit, I suspect you are running into the security feature added to CF9+ which Limits the maximum number of POST fields allowed. A simple option is to increase the limit in the CF Administrator.
Another possibility is to restructure the form. Move the select lists into a separate <form>, so they are not submitted. When the user clicks the submit button in the main form, use jQuery to build a list of the selected items and store it in a hidden field. Similar to the approach in this thread. Then on the action page, loop through that received list of values.
To summarize the discussion in the comments:
The ultimate goal is to extract the selected sched value only when
the associated bldgarea box is checked.
I would suggest a slightly different approach. Assuming you have some sort of (unique) numeric ID to represent each building, use that as the checkbox "value", rather than building name.
<input type="checkbox" name="bldgarea" value="#queryName.buildingID#">
Then use the building ID value to generate unique names for each of the select lists:
<select name="sched_#queryName.buildingID#">
When the form is submitted, form.bldgarea will only contain the id's of the selected buildings. Loop through that array and grab the associated sched value dynamically, using associative array notation.
<cfloop array="#form.bldgarea#" index="variables.buildingID">
<cfoutput>
buildingID = #variables.buildingID#
schedID = #FORM["sched_"& variables.buildingID]#
<br>
</cfoutput>
</cfloop>
NB: Checkboxes are only submitted if something was checked. Be sure to verify form.bldgarea exists before using it.
schedvalue only when the associatedbldgareabox is checked? Does the query contain some sort of unique identifier column, like an ID? If yes, I would suggest a different form field structure instead. BTW, checkbox values are only submitted IF the box was checked. That is why the two field arrays have a different number of elements.