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

how do i get the name of every field

New Here ,
May 26, 2016 May 26, 2016

When in a form with fillable fields in Acrobat Pro DC, I can click Prepare Form, then More, then Set Field Calculation Order...

A dialog pops up showing "calculated fields".

How can I get a list of ALL fillable fields?

roricka

TOPICS
PDF forms
22.4K
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
1 ACCEPTED SOLUTION
Community Expert ,
May 26, 2016 May 26, 2016

The full list is available under the Fields list at the bottom right of the window in Prepare Form mode.

View solution in original 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
Community Expert ,
May 26, 2016 May 26, 2016

The full list is available under the Fields list at the bottom right of the window in Prepare Form mode.

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 ,
May 26, 2016 May 26, 2016

You can also print it out to the console using a simple script.

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
LEGEND ,
May 26, 2016 May 26, 2016
LATEST

With  Acrobat JavaScript you get the number of fields and get the nth field name from the internal array of field names. This data will let you write a loop in JavaScript to get the each field name and you could also get some properties fo the fields but not  if the field is calculated.

You can write the names out to the console in Acrobat or Reader and with only Acrobat you could write a PDF report.

A starting script:

// get a list of field names and some properties;

console.show();

console.clear();

console.println("Number of fileds: " + this.numFields);

for(var i = 0; i < this.numFields; i++)

{

console.println((i + 1) + ": " + this.getNthFieldName(i));

}

You could use this script in the JavaScript console or add to a button field.

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