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

Anyway to get the position and the name of a field in the form?

Community Beginner ,
Apr 27, 2018 Apr 27, 2018

Copy link to clipboard

Copied

If there is some fields like the following, is there anyway (maybe using API or SDK) to get the position of the fields (for example left 47.52 pt, ...) and the name of the field (in this case Text1, Text2 and Text5)? I would like to export these information into a text document or XML.

TOPICS
Acrobat SDK and JavaScript

Views

1.0K

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

correct answers 1 Correct answer

Community Expert , Jun 03, 2018 Jun 03, 2018

This can be done with a script (written in JavaScript).

You can use the getNthFieldName method to get access to all the fields in the file and then the rect property of each such Field object to get its location on the page.

Likes

Translate

Translate
Community Expert ,
Apr 28, 2018 Apr 28, 2018

Copy link to clipboard

Copied

Try the forum for Acrobat SDK.

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
Community Beginner ,
Apr 28, 2018 Apr 28, 2018

Copy link to clipboard

Copied

Okay. Let me change the forum for SDK.

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
Community Expert ,
Jun 03, 2018 Jun 03, 2018

Copy link to clipboard

Copied

LATEST

This can be done with a script (written in JavaScript).

You can use the getNthFieldName method to get access to all the fields in the file and then the rect property of each such Field object to get its location on the page.

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