Expand my Community achievements bar.

SOLVED

AEM Forms expandable fields

Avatar

Level 1

Hello, 

 

I would like to know if there is a possibility to create a text field which has the ability to expand its size versus creating a scroll bar so when you print the form it is not chopped off and missing? 

 


Thanks. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Flowable layout in the forms adjusts its length according to the amount of data merged into it. 

 

https://help.adobe.com/en_US/AEMForms/6.1/DesignerHelp/WS92d06802c76abadb11a7f71129b8b00825-7fc9.2.h...

 

View solution in original post

4 Replies

Avatar

Community Advisor

The field should be multiline and expand to fit. Also, the page or subform that contains the field should be a flowable layout. And make PDF dynamic.

Avatar

Level 1

Do you have one file in example to be sure that we speak about the same things.

What do you want to say by : a flowable layout ?

Rem : does it possible to have AEM form on test to be sure that i could use it to do the forms wanted.

Avatar

Correct answer by
Community Advisor

Flowable layout in the forms adjusts its length according to the amount of data merged into it. 

 

https://help.adobe.com/en_US/AEMForms/6.1/DesignerHelp/WS92d06802c76abadb11a7f71129b8b00825-7fc9.2.h...

 

Avatar

Level 4

I assume you're making the form in Livecycle or Designer?

If so you'd want to make sure that the subform that the text field is part of has it's Object -> Subform -> Content layout property set to 'Flowed':

CR17506599_0-1693607744050.png

Then, in the actual text field that you would like you expand, you need to adjust it's settings so that 'allow multiple lines':

 

CR17506599_2-1693607913674.png

And it's height set to 'Expand to fit':

CR17506599_3-1693607967621.png

I think that should get you what you want.  Cheers!