// Get the field containers from each page. If you modify to this it will check field on all pages.for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) { var oFields = xfa.layout.pageContent(nPageCount, "field"); //var oFields = xfa.resolveNodes("form1..#field[*]"); for ( var i =...