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

New Here ,
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, Comment review and collaborate PDF, PDF forms

Views

29

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
community guidelines
Adobe Community Professional ,
Nov 14, 2019 Nov 14, 2019

Copy link to clipboard

Copied

LATEST

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

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
community guidelines