Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Prevent line breaks in expanding text field

Avatar

Level 5

I have a form with many text fields which I have set to "Allow Multiple Lines" and Limit Length of 225 characters.  However, I would like to limit these fields to 2 LINES -- is it possible to prevent the user from pressing Enter a bunch of times in these fields?  Because  someone can enter one word per line and expand the field far beyond two lines, which is what the 225 character limited is intended to do.  Thanks.

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now