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
That's because it's getField, not getfield... JavaScript is case-sensitive.
Copy link to clipboard
Copied
That's because it's getField, not getfield... JavaScript is case-sensitive.