Automatic data population with the data from previous field

New Here ,
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, Macintosh

Views

128

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

Automatic data population with the data from previous field

New Here ,
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, Macintosh

Views

129

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
Oct 22, 2018 0
Most Valuable Participant ,
Oct 22, 2018

Copy link to clipboard

Copied

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

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
Reply
Loading...
Oct 22, 2018 1
New Here ,
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.

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
Reply
Loading...
Oct 22, 2018 0
try67 LATEST
Most Valuable Participant ,
Nov 08, 2018

Copy link to clipboard

Copied

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

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

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
Reply
Loading...
Nov 08, 2018 0