Hi,
I have a sheet setup with 4 subforms representing one aspect of a project. Subform #3 contains an addInstance item that setup and working perfectly. It basically adds rows for users to add more data. For my project I may need multiple occurrences of this aspect in the project, so I wrapped the four subforms into one and used a new addInstance button to repeat parent.
That works fine, I can repeat the subform over and over, but when I use the addInstance button (on subform #3) it will only add it to the initial instance and not the one I am working in.
for example -
Parent 1
Parent 2
Parent 3 - addinstance on subform3 adds instances (rows) to parent #1 - ugh. In fact, not matter what the parent sheet it only grows #1.
This is the code used in the third subform:
HTItems.instanceManager.addInstance();
Any help? Thanks E