Expand my Community achievements bar.

addInstance problem

Avatar

Level 4

Hi - I'm working on a 2 page form, and need the second page to "spawn" when the user needs more than one of the 2nd page.  I've used this code -

_Page2.addInstance(true)

But it's not working.  I've also tried using this code:

_Page2.instanceManager.addInstance(1) and it still doesn't work.

Can anyone see what I may be doing wrong?

Thanks

Connie

2 Replies

Avatar

Former Community Member

Is the form saved as a dynamic PDF form?

Paul

Avatar

Level 4

Yes, I finally figured it out. . . .I had to set the repeat subform.