Javasript Add text to text field after button click

New Here ,
Apr 09, 2020 Apr 09, 2020

Copy link to clipboard

Copied

Hello, 

please, 

I have a Button and I need to fill in the Text Box with some text after clicking on it.

What code do I have to type in the action on the button when I want to insert text (may be in code) into the text box? 

Thank you very much. 

 
TOPICS
Acrobat SDK and JavaScript, How to

Views

34

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 ,
Apr 09, 2020 Apr 09, 2020

Copy link to clipboard

Copied

LATEST

You can read about what you need to do this here:

https://www.pdfscripting.com/public/PDF-Form-Scripting.cfm

 

You should also look at the online JavaScript Reference:

https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_Dev_Over...

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