Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Acrobat Pro DC: Need Help Linking Text Fields to Enable Text Overflow

New Here ,
Mar 22, 2016 Mar 22, 2016

I'm using Acrobat Pro DC and I'm trying to link two form fields in such a way that the text from box1 will overflow into box2. Anyone know how to do this? I'm a novice so I'll need some step by step help. I've done some research but have only found solutions for previous Acrobat versions so the instructions are essentially useless. Please and thank you!

TOPICS
Acrobat SDK and JavaScript , Windows
2.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Mar 23, 2016 Mar 23, 2016

I've done it!! You just edit the custom keystroke script and enter this:

if ( event.fieldFull || event.willCommit )

this.getField("name of overflow field goes here").setFocus();

Only problems I have run into is that you cannot have the fields linked and there cannot be any special characters or spaces in the field name.

Translate
Community Expert ,
Mar 22, 2016 Mar 22, 2016

There's no way of doing it seamlessly in PDF forms, as far as I know.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 23, 2016 Mar 23, 2016

I've done it!! You just edit the custom keystroke script and enter this:

if ( event.fieldFull || event.willCommit )

this.getField("name of overflow field goes here").setFocus();

Only problems I have run into is that you cannot have the fields linked and there cannot be any special characters or spaces in the field name.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 23, 2016 Mar 23, 2016

How did you handle following issues?

  • user deletes text
  • user changes text
  • user paste text from other places
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 23, 2016 Mar 23, 2016
LATEST

Also, note that that the last character typed into the first field will be dropped when the focus is set to the second field. This and the things mentioned by Bernd are what try67 meant by his comment of "no way of doing this seamlessly".

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines