Skip to main content
Participating Frequently
Aug 12, 2025 12:53 AM UTC
Question

How to get text to flow from one line to the next in a PDF form

Hello! A couple of years ago I created PDF forms for a client who had forms which included multiple lines for text. The client wanted me to format fields for those lines so when the text reached the end of the row, it would flow to the next line. Back then, I found the script I needed in one of these Adobe forums and it worked beautifully, but now it doesn't seem to want to work. Has something changed in Adobe that would affect the script not working? Can anyone provide me with a solution? Thanks in advance!

7 replies

PDF Automation Station
Community Expert
Community Expert
Aug 12, 2025 1:14 AM UTC

Please provide the script.

Translate
Participating Frequently
Aug 12, 2025 3:14 AM UTC

if (event.willCommit || event.fieldFull) {

this.getField("Additional InformationRow3").setFocus();

}

Translate
Nesa Nurani
Community Expert
Community Expert
Aug 12, 2025 5:41 AM UTC

Place the script under format tab as 'Custom Keystroke script' and under 'Options' tab, uncheck 'Scroll long text'.

Translate