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

A simple this.getfield property does not work in the debugger

New Here ,
Mar 13, 2019 Mar 13, 2019

Copy link to clipboard

Copied

Hello,

I have a simple form with several text boxes. on of the textboxes has the name "IndFullName"

this.getfield("IndFullName").value

undefined

TypeError: this.getfield is not a function

1:Console:Exec

undefined

My result is first of all "undefined". When watching a little video that introduced javascript, the person got the value of the textbox object.

Second, I get the error "this.getfield is not a function. I am confused.

What am I doing wrong? Your help is appreciated.

Thanks, Steve

TOPICS
Acrobat SDK and JavaScript , Windows

Views

2.0K

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 , Mar 13, 2019 Mar 13, 2019

That's because it's getField, not getfield... JavaScript is case-sensitive.

Votes

Translate

Translate
Community Expert ,
Mar 13, 2019 Mar 13, 2019

Copy link to clipboard

Copied

LATEST

That's because it's getField, not getfield... JavaScript is case-sensitive.

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