I have a form that has 6 pages. some of these pages are repeatable and I am trying to make it so that the entire form is repeatable. I use xml input such as:
<Root>
<page1/>
<page2/>
<page3/>
<page3/>
<page4/>
<page4/>
<page5/>
<page1/>
<page2/>
<page3/>
<page3/>
<page4/>
<page4/>
<page5/>
</Root>
But instead of getting the pages as is specified by the XML I get the two forms combined and some pages misssing
page1 [1]
page2 [1]
page3 [1]
page3 [1]
page3 [2]
page3 [2]
page4 [1]
page4 [1]
page4 [2]
page4 [2]
page5 [1]
I am not sure where to go from here and I appologize for being vague. I have a copy of the form and XML that show this if anyone can take a look.
Thanks
Cameron
Solved! Go to Solution.
Views
Replies
Total Likes
Not sure if this would work but what if you wrapped all of the page subforms into a subform of their own (representing the form). So it would come out:
<root>
<form1>
<page1/>
<page2/>
|
|
V
</form1>
,<form1[1]>
<page1/>
<page2/>
|
|
V
<form1[1]/>
</root>.
Views
Replies
Total Likes
Not sure if this would work but what if you wrapped all of the page subforms into a subform of their own (representing the form). So it would come out:
<root>
<form1>
<page1/>
<page2/>
|
|
V
</form1>
,<form1[1]>
<page1/>
<page2/>
|
|
V
<form1[1]/>
</root>.
Views
Replies
Total Likes
Thank you that fixed it. The only problem I have left now is that my page numbers are based on the document as a whole, not the individual instances of the new subform.
The paging is defined in the master pages, which are outside the subform, and I was getting the page using xfa.layout.pageCount() which is obviously wrong just based on the name. Do I need to move the page numbering to be within the subforms or can it stay on the master pages? Any thoughts?
Thank you
Cameron
Views
Replies
Total Likes
If you set your form level subform to flowed, then each of your page subforms will have a Pagination tab available. You can control where you want it to appear in the Place dropdown. I would set it to "Top of Next Page".
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies