0
New Here
,
/t5/acrobat-sdk-discussions/a-simple-this-getfield-property-does-not-work-in-the-debugger/td-p/10388005
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Mar 13, 2019
Mar 13, 2019
That's because it's getField, not getfield... JavaScript is case-sensitive.
Community Expert
,
LATEST
/t5/acrobat-sdk-discussions/a-simple-this-getfield-property-does-not-work-in-the-debugger/m-p/10388006#M14262
Mar 13, 2019
Mar 13, 2019
Copy link to clipboard
Copied
That's because it's getField, not getfield... JavaScript is case-sensitive.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

