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

Automatic data population with the data from previous field

New Here ,
Oct 22, 2018 Oct 22, 2018

Copy link to clipboard

Copied

Is there a way to automatically populate data from the field you just entered into? When you click the second field, it will populate the data from the first field. If you don't click the second field, it will remain blank. If you delete it, the first field won't be affected.

TOPICS
Acrobat SDK and JavaScript

Views

343

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 ,
Oct 22, 2018 Oct 22, 2018

Copy link to clipboard

Copied

You want it to copy the value of any other field in the file?

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
New Here ,
Oct 22, 2018 Oct 22, 2018

Copy link to clipboard

Copied

Yes. In this case, in the same column, I want the value of the first field 10/22/2018, for instance, to be duplicated when you click into the second field.

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 ,
Nov 08, 2018 Nov 08, 2018

Copy link to clipboard

Copied

LATEST

As the On Focus script of the field you can use something like this:

event.target.value = this.getField("Name of other field").valueAsString;

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