Expand my Community achievements bar.

Adding an instance of a subform

Avatar

Level 3
Hey Guys,



I have mocked up a simple form where I am tring to add instances of a subform using the following:



Subform2.instanceManager.addInstance(1);

xfa.form.recalculate(1);



When I add some instaces and check the count of the instances the count seems to increment but the added instance of the subform isn't displaying.



Could someone be able to have a quick look at my pdf, I'd say I'm just missing something simple?



Thanks,

James
2 Replies

Avatar

Former Community Member
send it to livecycle8@gmail.com amd I wil give it a go

Avatar

Level 3
The problem was I had the from saved as static PDF.



I had to save the form as a dynamic PDF in the Form Properties.



Thanks Paul.



James