Javasript Add text to text field after button click

New Here ,
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

30

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

Javasript Add text to text field after button click

New Here ,
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

31

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
Apr 09, 2020 0
Adobe Community Professional ,
Apr 09, 2020

Copy link to clipboard

Copied

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...

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