Unexpected Console Message
I'm attempting to write a JavaScript for a custom action to create several fields that I often use. I'm first experimenting by using the console window.
I've written the following:
var name = "KPOR";
var type = "checkbox";
var page = 0;
var location = [78.48, 702.72, 93.6, 689.04];
var KPOR = this.addField(name, type, page, location);
if (KPOR !== null) {
KPOR.fillColor = color.white;
KPOR.strokeColor = color.black;
}
The field was created correctly, however for some reason the console returned "G,0". I would love if someone could explain where that could be coming from.
To that end... is there any sort of index or documentation on the console and interpreting the errors/messages it returns? I don't know where else to turn when something like this happens.
Thank you!
