How do I insert JavaScript code into a PDF file?
I can code JavaScript, I just wish to know how to put it into a file to, for example, display the current date, use a combobox, etc.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
JavaScript is typically tied to objects in a PDF document. For example, if you want the user to be able to print the PDF by clicking a Print button, follow the steps below:
Select Action:chooseRun a JavaScriptprint();in the code windowHere’s a link to an old (Acrobat 7.0.5) Acrobat JavaScript Scripting
Reference to get you started.