Get Page Number Field Exists Within Using Javascript
Is it possible to get the page number that a field exists within using javascript? I have a 5 page form with 205 fields and I have built the code to export the field property values, for each field. I would now like to add code to include the page the field exists within. I have searched and cannot find anything that states anything regarding form pages. Below is my code to write to the console the form properties. Once I get it the way I want, I will have it write to an array instead of to the console and then export the array values to a csv file.
for (var i = 0; i < this.numFields; i++) {
var f = this. getField(this.getNthFieldName(i));
console.println(i + " | " + (f.type) + " | " + (f.name) + " | " + (f.readonly) + " | " + (f.required));
}
