Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Javasript Add text to text field after button click

New Here ,
Apr 09, 2020 Apr 09, 2020

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
367
Translate
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
Community Expert ,
Apr 09, 2020 Apr 09, 2020
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

Translate
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