Question
Var is undefined?
As recently as three days ago I used this code to extract fields from a dropdown:
var oFld = this.getField("MyField-01");
for(var i=0;i<oFld.numItems;i++) {
console.println(oFld.getItemAt(i,true));
}Now whenever I run it I get the following error:
SyntaxError: syntax error
1:Console:Exec
undefinedI've triple checked that the field value name is correct, and the dropdown has over 150 values. I have no idea what the issue is. Does anyone have any idea?