PDF Link & PDF Action
A PDF Link takes you to
other location in the same document, to other document, or to website.
A PDF Action defines the
actions to be taken in response to various trigger events affecting the
document as a whole.
You can add the most common PDF Link & Action into your
Open a Web Link
Reset a Form
Submit a Form
Go to Local Page
Go to Another PDF
Launch Application or Document
A Trigger determines how
action is activated in form fields. For each action, there are
six action trigger types:
|When the mouse button is
released after a click. This is the most common button trigger,
because it gives the user one last chance to drag the pointer
off the button and not activate the action. In most cases, Mouse
Up is the preferred trigger for Push Button Form Field.
|When the mouse button is
clicked (without being released).
|When the pointer enters the
field or play area.
|When the pointer exits the
field or play area.
On Focus (Get
|When the link area receives
focus, either through a mouse action or tabbing.
On Blur (Lose Focus)
|When the focus moves to a
different link area. In most cases, On Blur is the preferred
trigger for Text Form Field's Calculation.
note that the PDF form Field cannot be set as Read-Only to use PDF
1. No Action
2. Open a Web Link
uniform resource identifier (URI) is a
string that identifies (resolves to) a resource on the
Internettypically a file that is the destination of a hypertext link.
Here are some examples to
open a Web or Email Link:
body line here
3. Reset a Form
reset-form action resets the entire
interactive form fields to their default values.
4. Submit a Form
forms as well as HTML forms can be used in
a transaction between an end user and the form provider, but the
approach between the two types of interactive forms is quite different.
If your form is shortfor instance, a two-box login formyou should
prefer HTML over PDF. A PDF
form is typically preferred when you want to keep the layout of an
existing paper form: Some people
fill in the form online, whereas other people print it and fill it in
manually. HTML forms dont look
nice when printed out.
Forms Data Format (FDF) is
the file format used for interactive form data. FDF is used when
submitting form data to a server,
receiving the response, and incorporating it into the interactive form.
It can also be used to export form data to stand-alone files that can be
stored, transmitted electronically, and imported back into the
corresponding PDF interactive form.
You must put your PDF Form under
your Web Server to avoid "Html/text" error. Also, Adobe Reader 7.0 and
later is recommended for submit.
4.1. Email Form Data in
You can ask your client to email the filled form data by email. Here is
Subject&body=Here is my form data.
See the steps on How to
submit PDF Form Data (FDF) by Email.
4.2. Submit a Form In FDF FormatIn your server, you can
easily save the raw data as a FDF. You can save it into your database or
let the client user to download this new FDF. The user can save this FDF
with the original PDF form. When this FDF is open,
the original PDF form is filled and ready to print.
FREE Form Data Submit
You can ask your client
user to email the very compact FDF file instead of the entire PDF Form.
Instead, you can use this link to test your FDF submit:
https://www.pdfill.com/example/submit/fdf_submit_free.php. Please see
to handle this Online PDF Form Data submitted in FDF Format.
4.3. Submit a Form In
The data in your form is submitted
to the server as an HTML POST. You
can retrieve the parameters from
the request object as if it is a HTML form. Please see
to handle this Online PDF Form Data submitted in HTML Format.
can easily save the filled data into excel, Text,
FDF, XFDF, or database in your
4.4. Submit a Form In XFDF Format
XML Forms Data Format(XFDF), a version of
FDF based on XML. XFDF is described in the Adobe technical note XML
Forms Data Format Specification, Version 2.0. XML is described in
the W3C document Extensible Markup Language (XML) 1.1).
You can use any XML parser to get the field names and their
values. Please see
to handle this Online PDF Form Data submitted in XPDF Format.
Email the Entire PDF
the "Email To", "Email CC", "Email BCC", "Email Title", "Email Body".
See the steps on
How to Submit
Entire PDF by Email using PDFill PDF Form Maker
Here are some
||Print the PDF document
||Give a message
create the link in PDF that will open the URL in NEW
this.getField("Text1").value + this.getField("Text2").value;
||Add Simple Calculation
f.value = util.printd("mmm/d/yyyy", new Date());
the current date into a Text Field
url = "mailto:firstname.lastname@example.org";
form data (FDF) to an e-mail address
"email@example.com", "title", "body of text");
the entire PDF to an email address (Adobe Reader XI
this.getField("Text1").display = nHide;
or Hide a Text Box using a Check Box
this.getField("Text1").hidden = true;
this.getField("Text1").hidden = false;
Check Box Form Field to Show or Hide a Text Box
Keystroke Script of "Text1"
if ( event.fieldFull
|| event.willCommit )
multiple line form that text flows through one to
another: Set Font Size not Auto (0); Uncheck "scroll
Acrobat Forms API Reference:
6. Named Action
PDF viewers support a list of
that can be created with
the first page
the previous page
the next page
Jumps to the last page
dialog box for printing
7. Go to Local Page
Display the page, with the coordinates
(left, top) positioned at the top-left corner of the window and the
contents of the page magnified by the factor zoom. A negative value for
any of the parameters left or top, or a zoom value of 0 specifies that
the current value of that parameter is to be retained unchanged.
Page Number - a specific page
- the left value. A value of 0 or negative keeps the current value.
- the top value. A value of 0 or negative keeps the current value.
- The zoom factor. A value of 0 or negative keeps the current value.
8. Go to Another PDF
Page Number: a specific page
PDF Path Name: The path name of a
remote PDF file. Example: /C/MyFolder/MyFile.pdf
9. Launch Application or Document
A launch action launches an application or
opens or prints a document.
For security reason,
Adobe Reader has disabled this function after version 9.3.
- the application to be launched or the document to be opened or
- (Windows-specific) A parameter string to be passed to the
application. It can be
- (Windows-specific) the operation to perform: "open" - Open a
document, "print" - Print a document. It can be
- (Windows-specific) the default directory in standard DOS syntax. It