Automatic filling with javascript

New Here ,
Jun 25, 2019

Copy link to clipboard

Copied

Hello everyone,

I need some help about automatic filling PDF dynamic document.

I’ve created a dynamic pdf form with acrobat pro. We can find several fields on the document, like Name, Surname, address, … which come back many times on many pages. To save time and not fill in these same fields each time, I’d like to find a way to automatically fill in all Name field when the first one has been filled in. So that the user doesn’t need to fill in all fields with the same information.

I saw the possibility to implement javascript code in acrobat pro which seems to be a solution.

Does someone know what JS code I could use to do this ? Or a better solution ?

Thanks !

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

Just give the fields the same name and they'll automatically have the same value. No scripts required.

TOPICS
Acrobat SDK and JavaScript, Macintosh

Views

104

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 filling with javascript

New Here ,
Jun 25, 2019

Copy link to clipboard

Copied

Hello everyone,

I need some help about automatic filling PDF dynamic document.

I’ve created a dynamic pdf form with acrobat pro. We can find several fields on the document, like Name, Surname, address, … which come back many times on many pages. To save time and not fill in these same fields each time, I’d like to find a way to automatically fill in all Name field when the first one has been filled in. So that the user doesn’t need to fill in all fields with the same information.

I saw the possibility to implement javascript code in acrobat pro which seems to be a solution.

Does someone know what JS code I could use to do this ? Or a better solution ?

Thanks !

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

Just give the fields the same name and they'll automatically have the same value. No scripts required.

TOPICS
Acrobat SDK and JavaScript, Macintosh

Views

105

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
Jun 25, 2019 0
Most Valuable Participant ,
Jun 25, 2019

Copy link to clipboard

Copied

Just give the fields the same name and they'll automatically have the same value. No scripts required.

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...
Jun 25, 2019 0
New Here ,
Jun 25, 2019

Copy link to clipboard

Copied

Oh yes, it works !
Easier that i've planned.

Thanks try67 !

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...
Jun 25, 2019 0