Copy link to clipboard
Copied
Can anyone tell me how to do this? Thank you.
You can do it using this code:
for (var i=0; i<this.numFields; i++) {
var f = this.getField(this.getNthFieldName(i));
if (f==null) continue;
f.userName = f.name;
}
Copy link to clipboard
Copied
You can do it using this code:
for (var i=0; i<this.numFields; i++) {
var f = this.getField(this.getNthFieldName(i));
if (f==null) continue;
f.userName = f.name;
}
Copy link to clipboard
Copied
Thank you!