Tutorials, tools, scripts and samples for scripting Acrobat and PDF
Home | Video Tutorials | Copy-n-Paste Scripts | Download Library | Free Content | Search | MEMBERS AREA


 About this Site
About Us
Contact Us
Privacy Policy
Refund Policy
Site Video Tour
Terms of Use
Testimonials
 DEPARTMENTS
Articles
Video Tutorials
Automating Acrobat
Copy-n-Paste Scripts
Download Library
Form Data Handling
Free Content
Free Videos
Most Popular
 RESOURCES

Let me know when new content is available.

Home | DocNFormScripts
 

AcroForm Scripting

Select a Scripting area below to display content.

All of the scripts listed here are used in an AcroForm, as opposed to a LiveCycle Form. AcroForms are the original PDF Forms Technology and date back to Acrobat 3. AcroForm scripting is for more than just forms. This is also the scripting technology that is used to add interactive features to any standard PDF document.

How to Create a Self-Signed Digital ID in Acrobat
security, signature, certificate
Digital IDs are often referred to as Digital Signatures or Digital Certificates. Self-signed digital IDs are easy to create and very useful for all manner of secure work-flows. . . . keep reading
Auto-Populating Form Fields from a Drop-Down List(ComboBox)
AcroForm, Field, Event,Data, List
Scripts and techniques for setting the values of form fields automatically from a selection on a drop-down list. . . . keep reading
Auto-Filling a Drop List with a Drop List
Contents Introduction The Common Data Structure The Common Functionality . . . keep reading
Radio Button Events
AcroForm, Field, Event
Radio buttons have exactly the same events as all the form fields. These events are used when you need the radio button selection to drive some other action on the form. Two of the most common uses are scripting the MouseUp event to set a value in another field(s) and to Enable/Disable or Hide/Show other fields. But there are many others. . . . keep reading
Scripting Radio Buttons in an AcroForm
Form, AcroForm, Field,Radio
Radio buttons are a familiar and simple to use control to most users, but as a designer they are not so easy to set up and script. This article covers the details from basic usage to advanced scripting of radio buttons in the AcroForm model. . . . keep reading
PDF Forms and PayPal
Thom Parker
With just a little JavaScript code it's a simple matter to add a PayPal "Buy Now" button to any PDF form. This article covers the details of programming such a button with any available PayPal feature. This same technique can also be used to hook the PDF into any web site feature that's accessed with a URI query string. . . . keep reading
Acquiring Raw File Data
Thom Parker
External data, i.e., data outside of Acrobat or a PDF file, is often a very important part of a workflow process. For example, information on customers, products, employees, etc. are typically stored in Excel files, databases or on a server. One of the most common issues with automating such a workflow process is getting the data from the external file or data source into the automation script. This article provides techniques and script examples for acquiring external data. . . . keep reading
Document Navigation Scripts
AcroForm, Navigation
Document navigation is the process of finding your way through content in a document. Documents are rarely read from start to finish. Unless the document is a novel, users will want to skip around to find the particular content they are interested in. This is especially true for interactive electronic documents, which are used more for providing information than telling stories. These articles and scripts provide a variety of ways to implement a wide range of navigation techniques, form simple to very complex. . . . keep reading
Common Scripting Elements (Colors, Paths, and Coordinates)
Thom Parker
There are a number of scripting elements that are unique to AcroForm scripting and used consistently throughout the Document Object Model. These include Colors, File Paths, and Coordinates. Understanding how these elements are defined and used is a necessary Acrobat scripting skill. . . . keep reading
Form Data Validation
Thom Parker
Form data validation is a standard part of creating any electronic form. It comes in two different flavors. Validation at the field level where the data is checked for proper formatting, and validation at the form level where the completeness of the form is tested before data submission. A good form design uses a combination of these two methods. . . . keep reading
AcroForm Calculation Examples
Thom Parker
This page is a listing of sample PDFs that use the calculation event. The samples are collected from different areas of this site. They are not necessarily "Calculation" examples, but they all u . . . keep reading
Calculation Scripts in AcroForms
Everything about calculations for regular PDF forms (AcroForms). Entering Calculations, writing calculation scripts, samples, and some alternate uses for the Calculation Event. . . . keep reading
Field Format Script Basics
Format, Event
Four example scripts that demonstrate the basics of using the Format Event Script on an AcroForm document. All examples are for Text Fields, but can also be used on a ComboBox (drop-down list). . . . keep reading
The Alert Popup Box (UI Controls)
Thom Parker
Popup boxes are used for two purposes- to give the user a message and to collect immediate input from the user. In Acrobat JavaScript there are several types of popup boxes . . . keep reading
Basic Document Level (Document Open) Scripts
Open, Event, Global
Nine common uses for a Document Level script. Includes warning the user about a viewer condition, such as an incorrect viewer version or type, automatically closing the document, expiring a PDF, and performing various document setup tasks. . . . keep reading
List Item/Population Scripts
Thom Parker
Eight Scripts that demonstrate different techniques for manipulating items in a List Field. Includes list population, inserting list items, and replacing list items. . . . keep reading
Getting/Finding List Field Entries
Thom Parker
These scripts demonstrate various methods for getting at the properties of the items in a List Field. Finding the item name, index, and export value for one or more items based on the current selection or having at least one of these values already. . . . keep reading
List Handling Scripts
Thom Parker
Several scripts and variations for handling basic List Field operations. Includes selecting, moving, deleting, and getting List Field items. . . . keep reading
Advanced List Handling
Thom Parker
These scripts add advanced features to List Fields, including sorting list items, simulating a double click event, simulating "Commit Selected Immediately" for a Multi-Select Field, and getting and using all of the selected items on a Multi-Select Field while the user is making selections. . . . keep reading
Specialty List Items
Scripts for populating List Fields with common items like lists of state names, country names, month names, and day of week names. . . . keep reading
Using the "WillCommit" Keystroke Event
Event, Keystroke
These scripts demonstrate the basics of using a WillCommit Keystroke Event script in an AcroForm Field. The WillCommit Keystroke Event is a variation on the regular Keystroke Event that is triggered any time data is committed to a form field . . . keep reading
The "Proper" KeyStroke Event Script
Event, Keystroke
5 examples. These scripts demonstrate the basics of using a Proper Keystroke Event script in an AcroForm Text Field. The Proper Keystroke Event is a type of Keystroke Event that catches interactive user input. . . . keep reading
Date Handling Scripts
Thom Parker
This article explains basic date handling and provides scripts for a wide variety of date uses, from parsing and formatting dates, to complex date calculations. . . . keep reading