Expand my Community achievements bar.

Adding Instances in Flat pdf

Avatar

Former Community Member

I need your help working with a flat pdf...

1 - I have a form that is a flat pdf.

2 - This form has 5 pages, and in the first and last page i have to display the same xml iterative node.

3 -  If in the xml i only have one instance of the iterative xml node; I need to display the values from that node and 3 empty rows.

Here are my  questions:

1 - Withouth using addInstance() i was able to add the empty rows in the first page by creating subforms with empty rows and scripting. However i cannot display this same table in the last page, due to the fact that i cannot create an instance and display it in the las page. Any advice?

2 - How can i get the functionalities mentioned above in a flat pdf? My understanding is that removeInstance() and addInstance() can only be used for interactive forms.

Many thanks in advance!!

1 Reply

Avatar

Former Community Member

Could you not make use of the iniitial count in the binding tab of the repeating subform? This will initialize the form with the stated value in the Initialize field. If the 1st table is variable in size then you shodul be able to programatically set that value (i woudl do that on the Initialize event).

Paul