I had a requirement from the client which requires an adobe form with dynamic text i.e text content should overflow to next pages. So, we implemented the sub form.
A sub form is a section in the form design that provides anchoring, layout, and geometry management for objects. The object in a sub form can be arranged in rows, columns or some other kind of balanced arrangement.
More than one sub form can be used in a form design. Sub forms can be placed inside other sub form. This relationship is displayed in the Hierarchy palette.
In the Hierarchy palette each sub form is denoted by a node and the objects wrapped in a sub form is displayed under the sub form node. The children of the sub form do not inherit changes made on the sub form level. Each sub form properties are independent of each other.
The below is the process of creating a sub form with text content flowed to next pages.
Firstly, we need to create an interface and provide the required details.
We need to provide description and interface type.
Step-2: Here, we need to develop the interface according to the requirement. Firstly, we go with the types declaration.
We need to define the importing parameter.
We need to define global data.
We need to implement the required logic in code initialization.
Step-3: Here in we need to develop an adobe form.
Provide description and interface as seen below.
Step-4: Here, we need to develop the layout for the adobe form in the layout section. So, I created a table with respect to requirement.
Step-5: Here, we need to select the page 1(Untitled sub form page 1) in the hierarchy section and in right and in the object section in the left we need to change the option to “Flowed” in the content section and we should make sure that the check box “Allow page break with content” is checked.
Step-6: Here, we need to select the table in the hierarchy and in the object section we need to make sure that “Allow page break with content” is checked.