Avatar

Level 2

Hello and thanks for the reply.

I try adding your code to my "add month" button but needless to say it didn't work as I very likely did something wrong.

This is what I had:

addRemSub.instanceManager.insertInstance(0,1);

Container.ClaimSummary.instanceManager.insertInstance(0,1);

//Container.Claimant.InjuryStatus2.InjDiff.instanceManager.insertInstance(0,1);

Container.MCTable.instanceManager.insertInstance(0,1);

Container.FMRPTable.instanceManager.insertInstance(0,1);

Container.addRemSub.CommitteeDetails.instanceManager.insertInstance(0,1);

for(var i = 0, oLen = Container.Claimant.instanceManager.count; i < oLen; i++){

    Container.resolveNode("Claimant[" + i.toString() + "]").InjuryStatus2.InjDiff.instanceManager.setInstances(oLen);

    }

I did not change anything on the "add claimant" button as the way it was working was fine.

I'm really not great at Javascript so I really appreciate your help.

Thanks!