Tip Jar
-
Recent Blog Posts
Blog Archive
Contact
KHKonsulting LLC
khkonsulting@khk.net
Category Archives: JavaScript
Page Splitter – For The 3rd Time – Splitting Tri-Fold Brochures
We’ve covered page splitting before, see these two articles for some background information: Splitting PDF Pages Page Splitter Redux Both these posts deal with splitting a page into halfs, this tine we can to look at how to split a … Continue reading
Posted in Acrobat, JavaScript, Programming, Tutorial
Tagged Actions, Adobe Acrobat, Custom Commands, JavaScript, Page Splitting, Tri-Fold Brochure
3 Comments
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 Adobe Acrobat, Form, Image Field, JavaScript
6 Comments
Rotate PDF Fields in Adobe Acrobat Using JavaScript
Have you tried to rotate a field in a PDF form after it was created in Acrobat? If so, you may have scratched your head a bit. Before we get to the how, let’s first talk about the why: When … Continue reading
Posted in Acrobat, JavaScript, PDF, Tutorial
13 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 Adobe Acrobat, JavaScript, JavaScript Books, Learning JavaScript
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 Adobe Acrobat, Form, JavaScript, PHP, Serial Number, SOAP, Web Service
2 Comments
Batch-Import List Data into PDF Form
We’ve talked about batch importing data from an Excel document into a PDF form before: http://khkonsulting.com/2015/10/batch-import-excel-data-into-pdf-forms/ Back then, the idea was that we would have a spreadsheet with rows of data, and every row would be imported into a new … Continue reading
Posted in Acrobat, JavaScript, Tutorial
Tagged Adobe Acrobat, data, excel, Mail Merge, PDF, PDF Forms, Variable Data
21 Comments
Batch-Import Excel Data into PDF Forms
A while ago I documented for AcrobatUsers.com how to manually import an Excel data record into a PDF form. You can find this information here: Can I import data from an Excel spreadsheet to a fillable PDF Form? This is … Continue reading
Posted in Acrobat, JavaScript, PDF, Tutorial
Tagged Adobe Acrobat, data, excel, Mail Merge, PDF, PDF Forms, Variable Data
231 Comments
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 Adobe Acrobat, calculation, formatting, JavaScript, keystroke, PDF Form, scripts, validation
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 adobe pdf, count radio buttons, forms, JavaScript, radiobuttons
19 Comments