0
Use a script to enable a button when pressed to duplicate the information in a text field to another
New Here
,
/t5/acrobat-sdk-discussions/use-a-script-to-enable-a-button-when-pressed-to-duplicate-the-information-in-a-text-field-to-another/td-p/10739415
Nov 14, 2019
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-sdk-discussions/use-a-script-to-enable-a-button-when-pressed-to-duplicate-the-information-in-a-text-field-to-another/m-p/10739471#M9304
Nov 14, 2019
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
Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often
Use the Acrobat JavaScript Reference early and often
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

