Expand my Community achievements bar.

SOLVED

How do I add a new page dynamically base on the expendable text field?

Avatar

Former Community Member

Hi, All,

I've created a form with flow subform and expendable text fields. When the user fills out lengthy content, the form get cut off. Is there a way to dynamically add pages base on the content that user fills in the expendable text field?

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Level 2

Verify that the parent of the subform also has a flow layout. If you have the below structure, both page1 and subform need to have a flow layout.

page1 (must be flow)

     subform (must be flow)

               textfield (must be allow multiple lines and expand to fit for height)

If you've done all of that, then it should work.

View solution in original post

4 Replies

Avatar

Level 10

May be you need check some things..

1) See if the form is saved as Dynamic PDF form.

2) The TextField should be set the "Expand to Fit" Check box checked in the Height property.

3) The subform that contains the TextField should set to Auto Fit for Height.

Thanks

Srini

Avatar

Former Community Member

Thanks, Srini.

I've done everything you mentioned. It works fine as long as I still stay on the same page. When the content is longer than a page, the extra content got cut off and the following fields also got cut off, too.

What I did was very simple,

1. create a text field (allow multiple lines, auto-fit to Y)

2. add some static text under to be "pushed"

3. wrap both text field and static text in a subform and set it to flow (from top to bottom)

4. save it as a dynamic pdf

Then when I test it with long content, the pdf still stay only 1 page. The partial content of the text field and the static text I oringinal set up to be push were not visible anymore. (been push out of the page).

Any idea what else I need to set??

Thanks a lot~~~

Avatar

Correct answer by
Level 2

Verify that the parent of the subform also has a flow layout. If you have the below structure, both page1 and subform need to have a flow layout.

page1 (must be flow)

     subform (must be flow)

               textfield (must be allow multiple lines and expand to fit for height)

If you've done all of that, then it should work.

Avatar

Former Community Member

That's it, John. Thank you for heling me to figure it out.