Avatar

Level 10

No problem, glad you have it working!!! 

Just a few things. I have been digging around the XFA specification and XDP is covered in Chapter 23 of the following: Adobe XML forms 2.8  specification

Apparently you can control exactly what goes into the XDP, using xdpContent. I haven't done this, but it is in the specification and the help file.

Also the XDP submit does not automatically embed the PDF, but again this behaviour can be scripted for:

Button1.resolveNode("#event.#submit").embedPDF = "0";

So the XDP files from the submit button in the previous posts do not have the PDF embedded, just a fuller href to the original PDF.

Anyway good luck with that,

Niall