Tag Archives: JavaScript

Clear Image Field in PDF Form With Acrobat’s JavaScript

You’ve probably heard by now that the latest release of the Adobe Acrobat DC subscription version comes with a couple of new form field types (see here for more information). Image fields are not new, but they are now much … Continue reading

Posted in Acrobat, JavaScript, Programming, Tutorial | Tagged , , , | 2 Comments

Learning to Program JavaScript for Adobe Acrobat

This is a bit longer than usual, so let me add a table of contents here that allows you to jump straight to the section you are interested in. JavaScript in Acrobat What is JavaScript Learning the JavaScript Core Language … Continue reading

Posted in Acrobat, JavaScript | Tagged , , , | Leave a comment

Mark Selected Options with Circles in PDF Forms

I assume you’ve filled out a paper form with a pen, and circled one or more of the options presented on the form. Can this be done in a PDF form as well? To create such a form, we cannot … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Getting a Serial Number Into a Form Using SOAP

One request that shows up again and again on the Adobe Forums (or in the past on AcrobatUsers.com) is about how to generate a unique serial number or form number in a PDF file. The scenario is usually something like … Continue reading

Posted in Acrobat, JavaScript, PDF, Programming, Tutorial | Tagged , , , , , , | Leave a comment

Apply Standard PDF Form FIeld Formatting/Keystroke/Validation Events to Fields via JavaScript

For some options in Acrobat’s form editor, you can select multiple fields and then apply the same option to all selected fields. This works for example for the “read-only” flag, or the display options. It does however not work for … Continue reading

Posted in Acrobat, JavaScript, PDF, Tutorial | Tagged , , , , , , , | 1 Comment

How to Count Radio Button Choices in Acrobat JavaScript

A question that comes up every now and then on either AcrobatUsers.com or in the Acrobat JavaScript Forum is about how to count how many radio buttons with a certain value were selected by a user. Let’s for example say … Continue reading

Posted in Acrobat, JavaScript, PDF, Tutorial | Tagged , , , , | 8 Comments

Document Level Scripts With Acrobat Standard

If you are using Adobe Acrobat Standard, you’ve probably noticed that you cannot add document level scripts to PDF documents. This is a limitation of the user interface, Acrobat Standard can actually add such scripts (and document actions), but it … Continue reading

Posted in Acrobat, JavaScript, PDF | Tagged , , | 11 Comments

Convert Radio Button Groups to Checkbox Groups in PDF Forms

If you’ve worked with PDF forms, you are probably familiar with radio buttons: There is one problem with radio buttons: When you have a selection that also includes “non of the above”, you have to create a separate option for … Continue reading

Posted in Acrobat, JavaScript, PDF, Tutorial | Tagged , , , , , | 30 Comments

Page Splitter Redux

One of my more popular blog posts was about splitting PDF pages. I wrote that post five years ago and I am still getting regular feedback and questions. The original script was written for Acrobat 9, and used the “Documents” … Continue reading

Posted in Acrobat, JavaScript, PDF | Tagged , , , | 15 Comments

Extract PDF Pages Based on Content

How would we identify pages in a PDF document that contain a certain word and extract those pages into a new document? This can be done with a few lines of JavaScript – there are different ways to do this: … Continue reading

Posted in Acrobat, JavaScript, PDF, Tutorial | Tagged , , , | 65 Comments