Use open JavaScript action to print a PDF when opening

Q: I want to setup a PDF document so that it starts printing, as soon as it is opened, using JavaScript. Is it possible to do so in PDF Studio? A: To print the PDF on opening, you will need to add an open JavaScript action to the PDF document. Follow the steps below: Go to Document […]

Read More

Sending email with PDF form data file and custom email subject

Q: How can I send email that includes the form data file and also allow form field data to be customizable for the subject line? A: PDF Studio supports using submitForm as a Javascript action to send form data by email. The form data is sent as an attachment. Below is an example showing a button with […]

Read More

Sending email with PDF form data file using the submitForm action

Q: How can I send email that includes the form data file using the submitForm action? A: PDF Studio supports using submitForm as a Javascript action to send form data by email. The form data is sent as an attachment. Below is an example showing a button with submitForm action. 1. Create a Push Button 2. Right […]

Read More

Setting all fields in a PDF form to Read-Only using Javascript

Q: Can I set all fields to Read Only using Javascript so that they can’t be modified? A:  YES, PDF Studio supports setting form fields to read only (preventing modification) through JavaScript. Below is an example showing a button with JavaScript action to set all fields within a document to Read only. 1. Create a […]

Read More

Sample JavaScript to create a popup menu using app.popUpMenu

Here is sample JavaScript to create a popup menu using the app.popUpMenu method. This sample PDF contains one button and one text field. When user clicks on the button, a popup menu is displayed with 3 options: opt1, opt, opt3. When the user selects an entry in the popup menu, the value is set into […]

Read More