Skip to main content
sbaer1970
Participant
March 13, 2019
Answered

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

  • March 13, 2019
  • 1 reply
  • 2534 views

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

This topic has been closed for replies.
Correct answer try67

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

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 13, 2019

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