Adding an instance of a subform

Avatar

Avatar

_James_J_Gallag

Avatar

_James_J_Gallag

_James_J_Gallag

16-01-2009

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

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

16-01-2009

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

Avatar

Avatar

_James_J_Gallag

Avatar

_James_J_Gallag

_James_J_Gallag

16-01-2009

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