Hi All,
I have a simple PDF that I would like to have a popup text window with instructions (for the user to fill out the form) popup once the PDF is opened. Can anyone help me on how to do this?
Thanks!
Hi All,
I have a simple PDF that I would like to have a popup text window with instructions (for the user to fill out the form) popup once the PDF is opened. Can anyone help me on how to do this?
Thanks!
First, your answer (as created in Acrobat 8 Pro):
You would create an "appalert" javascript in the Page Properties box.
Click on "Pages" on the left navigation area.
Highlight/click the first page.
On settings, choose: "Page Properties"
Click the "actions" tab.
For "trigger" choose "Page Open"
For "action:" choose "Run JavaScript" from the drop down
In the script, write something like:
app.alert("INFORMATION \n" + "\ \n" +"\This form contains text fields that allow CSRs to fill out the customer information and then send the form via e-mail for the customer to sign and return to Company A. \n" + "\ \n" + "\After completing the form for the customer, hit the SEND TO CUSTOMER button. An e-mail will open with the form attached and a generic e-mail address. Replace the generic address with the customer's address. Complete the text of the message with instructions on how the customer can return the form including a fax number and your name. \n" + "\ \n" + "\A different version of this form is also available on the web at www.companyname.org/about\n" + "\
" ,3)
the references \n" + "\ designate a new line of text
So, in my case the below "Warning: JavaScript Window - " would read:
INFORMATION
This form contains text fields that allow the CSR...return to the company.
After completing the form for the customer, hit the SEND TO CUSTOMER button...return the form including a fax number and your name.
A different version of this form is also available on the web at www.companyname.org/bout
My follow-up question:
On my form with that app.alert, I also have a submit button which is more of an 'e-mail to the customer' button which creates a partial complete form attached to an e-mail that is sent to the customer to complete. Is there a way to delete the app.alert/warning when that attachment is created? I don't want the customer to see the message that the CSRs receive. Even better would be a NEW message in place of the CSR message, telling customers how to complete the form.
Hope this helps,
slang75