Grab dynamic form data

I’m dynamically generating form fields from an XML file because my client wants to be able to alter a questionnaire they use in their business, the problem I’m having is submitting the dynamically created form.

I have no idea how to dynamically list all the created form fields and their values. Is there any way to do that?

If these formfields are all within a parent (maybe an arraycollection) then you can loop through that parent in a for loop with getChildAt(i) until i<parent.length.