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

How to wrap text but disallow carriage returns? (LiveCycle Designer 8.05)

Avatar

Not applicable
Hi,



I've only recently started using LiveCycle to create forms for my work, but I've encountered a problem that I'd really appreciate tips on how to get around!



Is there any way to get text to wrap when entered into text fields, but to disallow the use of carriage returns, ie. the 'enter' key? I know that 'allow multiple lines' will achieve the first, but ticking this option also allows entering carriage returns, whereas without it this key is disabled.



Would this be achievable by scripting code? Any help or recommendations on other appropriate forums to ask would be greatly appreciated!



(I'm using LiveCycle Designer 8.05)
1 Reply

Avatar

Level 10
I do not know of a way to disable CRs, unnless you strip them out using Javascript parsing commands on the exit of the field.