Creating a continuous master page layout in XFA based forms | Community
Skip to main content
Level 2
July 6, 2023

Creating a continuous master page layout in XFA based forms

  • July 6, 2023
  • 2 replies
  • 1492 views

We have a use case where we have to design a form divided into sub forms , tables(static and dynamic) , nested tables and each section have a different requirement of headers. We can handle continuous tables or sub form header with the help of multiple master pages. But with multiple master pages it creates a space between continuous sections following particular master page style and the new section always start with a new page following other master page style. Is there a way can we start a new master page sections just after end of previous master page sections to remove spaces? Attached a sample explaining the use-case

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Vijay_Katoch
Community Advisor
Community Advisor
July 6, 2023

You can have more than one content area inside a master page but when you place a specific page on a master page it will start from a new page. That's the purpose of the master page to have different styles for different pages.

AbhinavDiAuthor
Level 2
July 6, 2023

Hi @vijay_katoch Thanks for the response. I have tried using a third master page with 2 content area (CA1 and CA2) in which I set the overflow of first page sub-form page to CA1 and then start the second sub-form from CA2. Now the problem is that how can we associate 2 master pages/content area to first sub-form one for all dynamic pages and the last page only? 

Can we dynamically associate another content area only at the last page? Using conditional break or via script? 

Vijay_Katoch
Community Advisor
Community Advisor
July 6, 2023

For the header you can use a table with a header, table header can span multiple pages if having the header on a dynamic table is needed on each page.

 

Conditional Breaks section is there in the designer but that is for a specific subforms/table if we want to break the subform/table based on some condition

radzmar
Level 10
September 27, 2023

You better use a single blank master page instead of multiple ones and then add overflow headers to the subforms in your body page. That way you should get the behavior you're looking for.