Hi Brue,ok, I understand now what you meant.Well, if deletePages() would
work, the script could be as
follows:this.deletePages(xfa.layout.pageCount(),
1);xfa.layout.relayout();(Pseudocode)Having each page duplicated sounds
costy, but I guess it's a costy requirement anyways.Do you mean
duplicating the whole XDP file, or the Form WITHIN the file?