I am creating an incident reporting form which reports different types of incidences. I have a drop-down from which the user will choose a type of incident. Since each incident report can cover one or more different types of incidences the drop-down is inside a collection to allow multiple choices. I also have sections that correspond to the different incidences and I would like to expand only the section(s) that have had the incident type selected. I am able to expand the section for the first choice but when I click the "add incident" link and choose a second type, my script doesn't run because the id of the second drop-down is different from the first.
My question is how do I capture all one or more incident type choices so I can expand only the sections needed?