I have a form with the structure: Form1
- parentSection1
- childSection1
- childSection2
- childSection3... etc
I have made an array of all the childSection names (currentParent[]) and need to use it in a variable that accesses the nodes of each childSection.
var childNode = Form1.parentSection1.childSection1.nodes; // this works if I reference it directly
what I need to work but can't get the syntax correct is:
var childNode = Form1.parentSection1.currentParent[i].nodes; // where i loops within a larger function
Any help would be much appreciated! Thanks!