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

How to LINK two or more Text Field

Community Beginner ,
Sep 29, 2008 Sep 29, 2008

Copy link to clipboard

Copied

I have already asked once to get help with creating a link between two text fields (two fields created with a text tool) so that when text reached the end of one text field it will simply go into another. The given explanation was not specific enough. If you know how to do this and are willing to help, would you PLEASE give me SPECIFIC instructions, step-by-step on how this is done. Please do not assume that I have worked with the Adobe Acrobat program all my life. Thanks :)
TOPICS
PDF forms

Views

71.0K

Likes

Translate

Translate

Report

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 Beginner ,
Jul 27, 2009 Jul 27, 2009

Copy link to clipboard

Copied

Jay - You nailed it on Oct 8th '08. I just tried it and it work....but ONLY after I went to the "Appearance" tab and set a font size. I discovered that mine was set to "auto" and that still allowed the text to shrink and not flow. Now it looks to work perfect. Thanks to all for the effort into posting this info! >Robert

Likes

Translate

Translate

Report

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 Beginner ,
Oct 08, 2008 Oct 08, 2008

Copy link to clipboard

Copied

I will give that a try but all suggestions have not worked and I use Acrobat 7. Thanks for your time Jay...

Likes

Translate

Translate

Report

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
Enthusiast ,
Oct 08, 2008 Oct 08, 2008

Copy link to clipboard

Copied

Stevan,

I have Acrobat 8 and 9, so I'm sorry, but I can't test the script in version 7.

Likes

Translate

Translate

Report

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 Beginner ,
Oct 08, 2008 Oct 08, 2008

Copy link to clipboard

Copied

Not a problem Jay... I already tested the first two I was given and they did not work. Perhaps I need to get the version 8 or 9. By the way, where does one go to get some of these scripts because I don't remember running into them anywhere in the help files?

Likes

Translate

Translate

Report

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
Enthusiast ,
Oct 08, 2008 Oct 08, 2008

Copy link to clipboard

Copied

Stevan,

You can find some here:

http://www.planetpdf.com/developer/article.asp?ContentID=example_acrobat_javascripts

Also by searching the web or this forum

Likes

Translate

Translate

Report

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 21, 2022 Mar 21, 2022

Copy link to clipboard

Copied

This site is no longer active, and takes you to a slots site. 

Likes

Translate

Translate

Report

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 ,
Aug 18, 2022 Aug 18, 2022

Copy link to clipboard

Copied

www.planetpdf.com doesn't exist any more.

Likes

Translate

Translate

Report

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 Beginner ,
Oct 09, 2008 Oct 09, 2008

Copy link to clipboard

Copied

Thanks for everything Jay...

Likes

Translate

Translate

Report

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 Beginner ,
Nov 21, 2020 Nov 21, 2020

Copy link to clipboard

Copied

The script is working for me but have one major hickup. When the text gets to the end of the first field and flows to the next, it leaves off one letter. For example say the end of the first field is the word "understood" and the line breaks after "under", it flows to the next field but leaves out the letter "s", so it reads "tood" at the first of the next field.

 

Also, it would be great if it just carried the whole word to the next line instead of breaking it. So in the example above the whole word "understood" would begin within the next field.

 

Any help?

Likes

Translate

Translate

Report

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 ,
Nov 22, 2020 Nov 22, 2020

Copy link to clipboard

Copied

That is correct. The "event.fieldFull" property becomes acitive on the keystroke that overflows the max characters. So if the max is 100, then the 101st character causes the overflow. So if you really want to use this technique the code needs to move the newly entered character into the next field. 

However, and I think this was pointed out in earlier posts on this thread, this technique inherently flawed for many reasons. For example, what happens when the next field already contains text?

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

Translate

Translate

Report

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 ,
Feb 02, 2021 Feb 02, 2021

Copy link to clipboard

Copied

I have been able use the discussed script without any issue when typing the data into the first box.I do have a challenge when I attempt to copy the text into the first text box. The text simply stops in the first text box and i noticed that my curser is active in the second text box. There is not text in the second box.

 

Both of my text fields have a set font size, not auto, & scroll long text disabled.

 

Any suggestions? Thank you for your time.

Mari

Likes

Translate

Translate

Report

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 ,
Feb 02, 2021 Feb 02, 2021

Copy link to clipboard

Copied

Correct. Have you examined the relevant event properties to see their state?  

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

Translate

Translate

Report

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 ,
Feb 03, 2021 Feb 03, 2021

Copy link to clipboard

Copied

Thom:

I am unsure what you are asking of me.

 

  • I have no errors or other messages in the console.
  • I looked on your site and was unable to locate an article. i was searching under event properities
  • I have checked my other resources to no avail.

Could you give me a tad more guidance please?

 

Thanks, Mari

Likes

Translate

Translate

Report

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