Use a script to enable a button when pressed to duplicate the information in a text field to another

Nov 14, 2019

Copy link to clipboard

Copied

I want to create a Button to automate a task for me. When the button is pressed in duplicates the infomation that has been entered . So the form is filled in and TextField 1 at the press of a button populates TextField 2 .

does anyone know the code to do this or could point me in the right direction on how to learn to do this? 

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, PDF forms

Views

25

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

Use a script to enable a button when pressed to duplicate the information in a text field to another

Nov 14, 2019

Copy link to clipboard

Copied

I want to create a Button to automate a task for me. When the button is pressed in duplicates the infomation that has been entered . So the form is filled in and TextField 1 at the press of a button populates TextField 2 .

does anyone know the code to do this or could point me in the right direction on how to learn to do this? 

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, PDF forms

Views

26

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
Nov 14, 2019 0
Nov 14, 2019

Copy link to clipboard

Copied

This is a very basic operation. You should definately spend some time to learn a bit about scripting in Acrobat. It'll help with all kinds of tasks.

You'll find everything you need to perform this simple task here:

Watch the video on "Introduction to form scripting" and "Form Scripting Basics"

https://www.pdfscripting.com/public/Free_Videos.cfm#FormJS

 

 

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 14, 2019 1