Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adding an instance of a subform

_James_J_Gallag
Level 3
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
pguerett
Level 10
Level 10
send it to livecycle8@gmail.com amd I wil give it a go
_James_J_Gallag
Level 3
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