Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Is it possible to make a flowed text field expand to a fixed height?

Avatar

Level 3

My clients want to modify a flowed text field in a form to only expand to 4-5 lines. Is this possible, and If so, how can I achieve this effect?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can add the maxH property to the field in the XML source view.

This can look like this.

<field name="Textfield" y="34.925mm" x="38.1mm" w="62mm" minH="5mm" maxH="30mm">

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You can add the maxH property to the field in the XML source view.

This can look like this.

<field name="Textfield" y="34.925mm" x="38.1mm" w="62mm" minH="5mm" maxH="30mm">

Avatar

Level 3

Awesome! Thanks. Worked perfectly.