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

In Acrobat XI Pro, I want to automatically copy the field name to the tooltip for that field for all the hundreds of fields in a form

Guest
May 07, 2016 May 07, 2016

Copy link to clipboard

Copied

Can anyone tell me how to do this?  Thank you.

TOPICS
Acrobat SDK and JavaScript

Views

324

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

You can do it using this code:

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

    var f = this.getField(this.getNthFieldName(i));

    if (f==null) continue;

    f.userName = f.name;

}

Votes

Translate

Translate
Community Expert ,
May 07, 2016 May 07, 2016

Copy link to clipboard

Copied

You can do it using this code:

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

    var f = this.getField(this.getNthFieldName(i));

    if (f==null) continue;

    f.userName = f.name;

}

Votes

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
Guest
May 07, 2016 May 07, 2016

Copy link to clipboard

Copied

LATEST

Thank you!

Votes

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