Hi,<br /><br />what you are trying to do is possible. There are atleast two general ways of doing this.<br /><br />If the text data comes from a single field, then the xdp form can easily place the data onto each page and create a new page when required. You can repeat a header and footer onto each page as well.<br /><br />in the repeating part of the page, you need to create your field that will repeat. This can be a single row field with the layout width property set to expand. Bind this field to your data source.<br />Wrap the field in a subform and set the subform property to Position Content. Once the following header and footer subforms are created, set the overflow leader and overflow trailer properties for this subform to those of the header and footer subforms.<br /><br />Then, wrap this subform in another larger subform. This will be set to Flow Content. Add the header and footer subforms here (with appropriate fields).<br /><br />That should give you an idea of how it can work. <br /><br />If the repeating data is a concatonation of several fields, then it can be done programmatically. The same structure is used as created above, however, don't bind the repeating text field to the data source. Instead, here is a javascript code snippet that will help to create multiple subforms:<br /><br />var fileBlk = xfa.record.files.files_item.all;<br /><br />for (i=0; i<fileBlk.length; i++) {<br /> attPoliceFile = fileBlk.item(i).agency_code.value + ":" + fileBlk.item(i).policeFileNo.value;<br /><br /> this.Attachment.AttachmentDetail.instanceManager.addInstance();<br /> this.Attachment.AttachmentDetail.all.item(i).policeFiles.rawValue = attPoliceFile;<br />}<br /><br />To get page numbers, go to the Custom Library tab, and grab the Page n of m field.