I have multiple forms with document level scrips. I need to find a way to have the document fully open PRIOR to the cripts running. Is there a way to do this or do I need to copy all my scripts in the Page Open area
Why do you need to do that?
We switched banking systems, none of the forms are integrated so staff have to flip back and forth. My forms have pop ups asking them to fill in everything so they don't forget anything. But they say that sometimes it gets "stuck" if the form has not fully rendered
the way they get the form is a link from the banking system that opens a new web page. From there they click a link from that page to open the PDF.
Indeed document level scripts should not interact with the user or document, only make definitions. Page level is a possibility but beware that page1 might not display first.
You could use an AcroDialog to capture the data and then populate the form. The dialog would be stored in the document level script but called from the form.
Thanks. I will have to look that up. I know nothing of AcroDialogs
Have you clearly defined your problem based on the forms you are trying to use?
Can you use Acrobat's form tools to edit the PDF? If not then you cannot add any scripts to the PDF forms to do any processing from within the form.
Do the data fields that are common between the forms have the exact same form field names? If not then you will need to do some type of mapping. If so, one can export the form data to an FDF file from one file and then read that file into the other form. this can be done without adding any script to the PDF by using Acrobat or creating a folder level script to Export and Import the FDF file. If you are using Reader then the forms will need to have form rights applied to the PDF.
As far as I have seen all document script code is processed before a PDF is opened.
I tried to add the pdf here as example but could not find a way to attach it
I will continue the way I have as it does work (and look for additional way when I have a bit more time to modify) thanks all
AcroDialogs is a product my company developed for creating custom dialog boxes for Acrobat automation tools and PDF forms. We have an example of a Form Filling Wizard on this page so you can see how custom dialogs can be used to help users fill out forms-
We recently re-introduced AcroDialogs as an online tool that is available at our membership web site www.pdfscripting.com since it is no longer available as an Acrobat plug-in.
Hope this helps,
Thank you. I actually JUST renewed my subscription this morning as I saw you reintroduced them. Have to learn how to use the tool to have multiple items in one pop up box
(checkboxes on one side/ other items next to it)
that may take me a bit - I could not get dialog items in the areas I wanted - but I will watch the videos
PS I used your site all the time while learning - copying and pasting code
Thank you so much for it!