I have a PDF generated in LiveCycle form, which may or may not contain an attached PDF file.
Our problem is that our end users are not that literate and we need to make it blindingly obvious when one of these forms contains attachments.
When the form is opened, I would like to include some scripting to reference whether on not there is an attachment in the document and show/hide a subform which contacts an explanation for the users that there is an attachment and that they need to click the paper clip icon to access this.
Alternatively I would like to be able to force Reader to open with the Attachment window visible but I don't know if this is possible either.
This looks like it will do the trick. My on;y question would be how could this be tested in Designer? How do I get an attachment stored against the XDP to verify the code (N.B As I am only doing a small check, I will test the code by running the process against this form for the moment) but if I wanted to do more complex logic against PDF attachments, how would I do this/