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

fillable PDF, with two text boxes linked

Community Beginner ,
Jun 03, 2024 Jun 03, 2024

Copy link to clipboard

Copied

I created a fillable PDF, with two text boxes linked by this code:

var t1=this.getField ("RennenVoorDeGeit1"); if (event.fieldFull) { getField("RennenVoorDeGeit2").setFocus(); }

 

Now when I type a text within acrobat the text does move to column 2 but when I copy a text from microsoft word it no longer works. Anyone have an idea what is going wrong?

 

Using Acrobat 2024

Here is the PDF file.

TOPICS
Edit and convert PDFs , How to , PDF , PDF forms

Views

356

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

There is nothing wrong. The event fieldFull will not trigger when you psate text.

Votes

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

How can I resolve that?

Votes

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

There are no simple solutions: you'd have to create a script that counts the number of characters pasted and splits the text between the two fields.

Votes

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

A custom keystroke works with keystrokes, not pasting data.

Votes

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

Not true. It should trigger even when pasting text into the field. However, the fieldFull property might not get properly set in such a scenario.

Votes

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

LATEST

I stand corrected.  The text box won't accept any characters beyond it's limits when pasting.

Votes

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