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.

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