Skip to main content
Participating Frequently
August 12, 2025
Question

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

  • August 12, 2025
  • 1 reply
  • 476 views

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!

1 reply

PDF Automation Station
Community Expert
Community Expert
August 12, 2025

Please provide the script.

Participating Frequently
August 12, 2025

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

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

}

Nesa Nurani
Community Expert
Community Expert
August 12, 2025

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