I have a table which contains a dropdown, and on the change event of the dropdown it shows and hides various sub forms depending on the selection. The row in which this dropdown lives is repeatable. The first dropdown does as its told, but the second and subsequent ones do not - and I know it is because I am not referencing it correctly and it is looking at the first instance only. I have honestly scoured for hours on this one, but I get confused between [*], _subform, , resolveNodes, resolveNode etc.
Is anyone able to explain to me in simple terms how to reference the dropdown / subforms so it executes the change event in all instances? Or how to reference a repeating object in general?
I think this whole referencing business is going to kill me. I have to travel interstate next week and I have downloaded a truckload of You Tube clips on it to watch on the plane try and wrap my brain around it!!
I have the reference of the subforms ok - what I can't manage is to reference the repeats...and I did try the [*] but I have probably put it in the wrong spot. This is what I have:
Repeating row that contains the dropdown is: Main.tblPartV.Row1
The dropdown has selections (will only name a couple) "Company" "Individual" "Joint"
sfAccount contains tblCompany, tblIndividual and tblJoint tables that should turn on and off as per the selection from the dropdown
So my "add row" button not only adds a row to tblPartV (and subsequently another dropdown) it (should) also add a separate instance of either Individual, Joint or Company. The instances add fine, but it the dd doesn't work because my change event just has: