Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Introduction:

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.

Step-1:

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.


Output:

Please find the output below.

Page-1


Page-2


Page-3


Page-4


 

Conclusion:

Dynamic text in adobe forms can be done using sub forms with the snippets for reference.