Task:
The task I am trying to accomplish is to generate a new PDF by inserting pages (PDFdoc.Insert) from an existing PDF that has custom calculation script (javascript) embedded in the text field properties.
What should happen:
When the client opens the document the calculation on the form should add todays day and the clients name (like a timestamp).
What actually happens:
The javascript remains as plain text.
Problem:
The custom calculation script (javascript) is not set, when opening the document with a PDF editor and examing the tree / node view I can tell the javascript is indeed in the new generated document and looks to be referenced to the page correctly but opening the PDF with acrobat shows that the custom calculation script has not been set, any ideas or is there something obvious I'm missing?