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

Adobe Javascript

New Here ,
Feb 01, 2019 Feb 01, 2019

Hi I would like to collect all of the text field value and send to my web service end point for example. www.getme.com/pdfreceiver.aspx

using either GET or POST method.

Do you guys know how to do that?

TOPICS
Acrobat SDK and JavaScript
538
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

correct answers 1 Correct answer

Community Expert , Feb 01, 2019 Feb 01, 2019

Yes (if you've selected GET). It's not really an HTML file, more of an HTML request.

Translate
Community Expert ,
Feb 01, 2019 Feb 01, 2019

Take a look at the submit action, it allows you to specify in which format forms data is submitted. One option is to submit as HTML. In this case, you will have exactly the same behavior as with a web form.

2019-02-01_14-16-44.png

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
New Here ,
Feb 01, 2019 Feb 01, 2019

when the data is export from the html format how it supposes to look like?

is it like something below?

http://www.domain.com/capturedata.aspx?fieldfirstname=john

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 ,
Feb 01, 2019 Feb 01, 2019
LATEST

Yes (if you've selected GET). It's not really an HTML file, more of an HTML request.

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 ,
Feb 01, 2019 Feb 01, 2019

If you want to do it using a script read up on the submitForm method of the Document object. You can use its cSubmitAs parameter to send the data as an HTML file, and the bGet parameter to define whether it be sent using GET or POST.

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