User Guide Cancel

Setting action buttons in PDF forms

  1. Acrobat User Guide
  2. Introduction to Acrobat
    1. Access Acrobat from desktop, mobile, web
    2. Introducing the new Acrobat experience
    3. What's new in Acrobat
    4. Keyboard shortcuts
    5. System Requirements
  3. Workspace
    1. Workspace basics
    2. Opening and viewing PDFs
      1. Opening PDFs
      2. Navigating PDF pages
      3. Viewing PDF preferences
      4. Adjusting PDF views
      5. Enable thumbnail preview of PDFs
      6. Display PDF in browser
    3. Working with online storage accounts
      1. Access files from Box
      2. Access files from Dropbox
      3. Access files from OneDrive
      4. Access files from SharePoint
      5. Access files from Google Drive
    4. Acrobat and macOS
    5. Acrobat notifications
    6. Grids, guides, and measurements in PDFs
    7. Asian, Cyrillic, and right-to-left text in PDFs
  4. Creating PDFs
    1. Overview of PDF creation
    2. Create PDFs with Acrobat
    3. Create PDFs with PDFMaker
    4. Using the Adobe PDF printer
    5. Converting web pages to PDF
    6. Creating PDFs with Acrobat Distiller
    7. Adobe PDF conversion settings
    8. PDF fonts
  5. Editing PDFs
    1. Edit text in PDFs
    2. Edit images or objects in a PDF
    3. Rotate, move, delete, and renumber PDF pages
    4. Edit scanned PDFs
    5. Enhance document photos captured using a mobile camera
    6. Optimizing PDFs
    7. PDF properties and metadata
    8. Links and attachments in PDFs
    9. PDF layers
    10. Page thumbnails and bookmarks in PDFs
    11. PDFs converted to web pages
    12. Setting up PDFs for a presentation
    13. PDF articles
    14. Geospatial PDFs
    15. Applying actions and scripts to PDFs
    16. Change the default font for adding text
    17. Delete pages from a PDF
  6. Scan and OCR
    1. Scan documents to PDF
    2. Enhance document photos
    3. Troubleshoot scanner issues when scanning using Acrobat
  7. Forms
    1. PDF forms basics
    2. Create a form from scratch in Acrobat
    3. Create and distribute PDF forms
    4. Fill in PDF forms
    5. PDF form field properties
    6. Fill and sign PDF forms
    7. Setting action buttons in PDF forms
    8. Publishing interactive PDF web forms
    9. PDF form field basics
    10. PDF barcode form fields
    11. Collect and manage PDF form data
    12. About forms tracker
    13. PDF forms help
    14. Send PDF forms to recipients using email or an internal server
  8. Combining files
    1. Combine or merge files into single PDF
    2. Rotate, move, delete, and renumber PDF pages
    3. Add headers, footers, and Bates numbering to PDFs
    4. Crop PDF pages
    5. Add watermarks to PDFs
    6. Add backgrounds to PDFs
    7. Working with component files in a PDF Portfolio
    8. Publish and share PDF Portfolios
    9. Overview of PDF Portfolios
    10. Create and customize PDF Portfolios
  9. Sharing, reviews, and commenting
    1. Share and track PDFs online
    2. Mark up text with edits
    3. Preparing for a PDF review
    4. Starting a PDF review
    5. Hosting shared reviews on SharePoint or Office 365 sites
    6. Participating in a PDF review
    7. Add comments to PDFs
    8. Adding a stamp to a PDF
    9. Approval workflows
    10. Managing comments | view, reply, print
    11. Importing and exporting comments
    12. Tracking and managing PDF reviews
  10. Saving and exporting PDFs
    1. Saving PDFs
    2. Convert PDF to Word
    3. Convert PDF to PPTX
    4. Convert PDF to XLSX or XML
    5. Convert PDF to JPG
    6. Convert PDF to PNG
    7. Convert or export PDFs to other file formats
    8. File format options for PDF export
    9. Reusing PDF content
  11. Security
    1. Enhanced security setting for PDFs
    2. Securing PDFs with passwords
    3. Manage Digital IDs
    4. Securing PDFs with certificates
    5. Opening secured PDFs
    6. Removing sensitive content from PDFs
    7. Setting up security policies for PDFs
    8. Choosing a security method for PDFs
    9. Security warnings when a PDF opens
    10. Securing PDFs with Adobe Experience Manager
    11. Protected View feature for PDFs
    12. Overview of security in Acrobat and PDFs
    13. JavaScripts in PDFs as a security risk
    14. Attachments as security risks
    15. Allow or block links in PDFs
  12. Electronic signatures
    1. Sign PDF documents
    2. Capture your signature on mobile and use it everywhere
    3. Send documents for e-signatures
    4. Create a web form
    5. Request e-signatures in bulk
    6. Collect online payments
    7. Brand your account
    8. About certificate signatures
    9. Certificate-based signatures
    10. Validating digital signatures
    11. Adobe Approved Trust List
    12. Manage trusted identities
  13. Printing
    1. Basic PDF printing tasks
    2. Print Booklets and PDF Portfolios
    3. Advanced PDF print settings
    4. Print to PDF
    5. Printing color PDFs (Acrobat Pro)
    6. Printing PDFs in custom sizes
  14. Accessibility, tags, and reflow
    1. Create and verify PDF accessibility
    2. Accessibility features in PDFs
    3. Reading Order tool for PDFs
    4. Reading PDFs with reflow and accessibility features
    5. Edit document structure with the Content and Tags panels
    6. Creating accessible PDFs
    7. Cloud-based auto-tagging
  15. Searching and indexing
    1. Creating PDF indexes
    2. Searching PDFs
  16. Multimedia and 3D models
    1. Add audio, video, and interactive objects to PDFs
    2. Adding 3D models to PDFs (Acrobat Pro)
    3. Displaying 3D models in PDFs
    4. Interacting with 3D models
    5. Measuring 3D objects in PDFs
    6. Setting 3D views in PDFs
    7. Enable 3D content in PDF
    8. Adding multimedia to PDFs
    9. Commenting on 3D designs in PDFs
    10. Playing video, audio, and multimedia formats in PDFs
    11. Add comments to videos
  17. Print production tools (Acrobat Pro)
    1. Print production tools overview
    2. Printer marks and hairlines
    3. Previewing output
    4. Transparency flattening
    5. Color conversion and ink management
    6. Trapping color
  18. Preflight (Acrobat Pro)
    1. PDF/X-, PDF/A-, and PDF/E-compliant files
    2. Preflight profiles
    3. Advanced preflight inspections
    4. Preflight reports
    5. Viewing preflight results, objects, and resources
    6. Output intents in PDFs
    7. Correcting problem areas with the Preflight tool
    8. Automating document analysis with droplets or preflight actions
    9. Analyzing documents with the Preflight tool
    10. Additional checks in the Preflight tool
    11. Preflight libraries
    12. Preflight variables
  19. Color management
    1. Keeping colors consistent
    2. Color settings
    3. Color-managing documents
    4. Working with color profiles
    5. Understanding color management

Learn how to set action buttons in a PDF form using Acrobat.

About buttons

Buttons are most commonly associated with forms, but you can add them to any document. Buttons can open a file, play a sound or movie clip, submit data to a web server, and much more. When deciding on how to initiate an action, remember that buttons offer the following capabilities that links and bookmarks do not:

  • A button can activate a single action or a series of actions.

  • A button can change appearance in response to mouse actions.

  • A button can be easily copied across many pages.

  • Mouse actions can activate different button actions. For example, Mouse Down (a click), Mouse Up (releasing after a click), Mouse Enter (moving the pointer over the button), and Mouse Exit (moving the pointer away from the button) can all start a different action for the same button.

    Buttons are an easy, intuitive way to let users initiate an action in PDF documents. Buttons can have a combination of labels and icons to lead users through a series of actions or events by changing as the mouse is moved. For example, you can create buttons with “Play,” “Pause,” and “Stop” labels and appropriate icons. Then you can set actions for these buttons to play, pause, and stop a movie clip. You can select any combination of mouse behaviors for a button and specify any combination of actions for a mouse behavior.

Add a button to an Acrobat PDF form

  1. Make sure you are in edit mode by selecting Tools > Prepare Form, and then select Button in the toolbar. Your curser becomes a cross hair.

  2. On the page, click where you want to add the button to create a button with the default size. For a custom size button, drag a rectangle to define the size of the button.
  3. Double-click the button field, and then specify a name, tool tip text, and other common properties.
  4. Click the Appearance tab, and then specify options to determine the button appearance on the page. Remember, if you select a background color, you are not able to see through to any images behind the button. The text options affect the label you specify in the Options tab, not the button name in the General tab.
    Note:

    If Enable Right-To-Left Language Options is selected in the International panel of the Preferences dialog box, the Appearance tab includes options for changing the digit style and text direction for buttons.

  5. Click the Options tab, and select options to determine how labels and icons appear on the button.
  6. Click the Actions tab. Specify options to determine what happens when the button is clicked, such as jumping to a different page or playing a media clip.
  7. Click Close.

    Note:

    If you’re creating a set of buttons, you can snap the object to grid lines or guides.

  8. To preview and test the button, click Preview at the right-end of the toolbar. Once you are done, you can either click Edit to return to the Prepare Form tool, or click the cross icon at the right-end of the toolbar to close the tool.

Add a submit button

When you distribute a form, Acrobat automatically checks the form. If it doesn’t find a submit button, it adds a Submit Form button to the document message bar. Users can click the Submit Form button to send completed forms back to you. If you don’t plan to use the Submit Form button created by Acrobat, you can add a custom submit button to your form.

  1. If you are not in form editing mode, choose Tools > Prepare Form.

  2. Using the Button tool , drag across the area where you want the button to appear. Double-click the button and set options in the General and Options tabs.

  3. In the Options tab, choose an option in the Layout menu for the button label, icon image, or both. Do one or both of the following:

    • Type text in the Label box to identify the button as a submit button.

    • Click Choose Icon and either type the path to an image file or click Browse and locate the image file you want to use.

  4. In the Actions tab, choose Submit A Form in the Select Action menu, and then click Add.

  5. In the Submit Form Selections dialog box, do one of the following:
    • To collect form data on a server, type the location in the Enter a URL for this link box. For example, http://www.[domain]/[folder]/[subfolder]/ for an Internet address or \\[server]\[folder]\[subfolder]\ for a location on a local network.

    • To collect form data as attachments to email, type mailto: followed by the email address. For example, mailto:nobody@adobe.com.

  6. Select options for Export Format, Field Selection, and Date Options, and click OK.

  7. Click Close.

  8. To preview and test the button, click Preview at the right-end of the toolbar. Once you are done, you can either click Edit to return to the Prepare Form tool, or click the cross icon at the right-end of the toolbar to close the tool.

Note:

If the data returns in FDF or XFDF format, the server URL must end with the #FDF suffix—for example, http://myserver/cgi-bin/myscript#FDF.

Submit Form Selections options

The following options are available in the Submit Forms Selections dialog box:

Enter a URL for this link

Specifies the URL to collect the form data.

FDF

Returns the user input without sending back the underlying PDF file. You can select options to include Field Data, Comments, and Incremental Changes To The PDF.

Note:

Selecting the option for incremental changes is useful for receiving digital signatures in a way that is easily read and reconstructed by a server.

HTML

Returns the form in Hypertext Markup Language.

XFDF

Returns the user input as an XML file. You can include Comments with the field data or just the field data.

PDF

Returns the entire PDF file with the user input.

Field Selection

Specifies what fields are returned. To receive only some of the completed field data, select Only These, click Select Fields, and select which fields to include or exclude in the Field Selection dialog box.

For example, you might use this to exclude some calculated or duplicate fields that appear in the form for the user’s benefit but which do not add new information.

Date Options

Standardizes the format for dates that the user enters.

Making buttons change appearance

A button can have a label, an icon, or both. You can change how the button appears in each mouse state (Up, Down, and Rollover). For example, you could create a button that has a “Home” label until the pointer is moved over the button, when it might have a “Click to return to home page” label.

You can make button icons from any file format that Acrobat can display, including PDF, JPEG, GIF, and other image formats. For whichever format you select, the entire page is used, so if you want to use only a portion of a page as an icon, you need to crop the image or page before carrying out this procedure. The smallest allowable PDF page size is 1-by-1 inch (2.54-by-2.54 cm). If you want the icon to appear smaller than 1-by-1 inch, scale it to fit the size of the box drawn with the button tool. Clicking Advanced in the Options tab of the Button Properties dialog box lets you determine how a button icon is scaled to fit inside a button.

Button layouts
Button layouts

A. Label only B. Icon only C. Icon top, label bottom D. Label top, icon bottom E. Icon left, label right F. Label left, icon right G. Label over icon 

Edit a button

  1. If you are not in form editing mode, choose Tools > Prepare Form.

  2. Select the Button field, and then do any of the following:
    • To edit the properties for the button field, double-click the button.

    • To change the appearance of buttons, use the appearance options in the Appearance tab of the Button Properties dialog box.

    • To align, center, or distribute the button with other form fields, or to resize or duplicate the button, right-click the button, and then choose an option from the context menu.

  3. Close all opened dialog boxes, if any. Click the cross icon at the right-end of the Prepare Form toolbar to close the tool.

Specify Acrobat button display properties

  1. If you are not in form editing mode, choose Tools > Prepare Form.

  2. Double-click an existing button, and then click the Options tab in the Button Properties dialog box.
  3. For Layout, choose the type of label display you want. (For information on scaling button icons, see the next procedure.)
  4. For Behavior, specify the display of the button when clicked.
  5. To define the label or icon that appears on the button, do the following:
    • If a label option is selected from the Layout menu, type the text in the Label box.

    • If an icon option is selected from the Layout menu, click Choose Icon, click Browse, and select the file. (Click Clear to remove the selected icon.)

  6. Close all opened dialog boxes, if any. Click the cross icon at the right-end of the Prepare Form toolbar to close the tool.

Button Behavior options

None

Keeps the appearance of the button the same.

Push

Specifies appearances for the Up, Down, and Rollover states of the mouse. Select an option under State, and then specify a label or icon option:

Up

Determines what the button looks like when the mouse button isn’t clicked.

Down

Determines what the button looks like when the mouse is clicked on the button, but before it’s released.

Rollover

Determines what the button looks like when the pointer is held over the button.

Outline

Highlights the button border.

Invert

Reverses the dark and light shades of the button.

Scale and position buttons

  1. If you are not in form editing mode, choose Tools > Prepare Form.

  2. Double-click an existing button to open the Button Properties dialog box.
  3. Click the Options tab, select one of the icon options from the Layout menu, and then click Advanced.

    Note:

    The Advanced button isn’t available if you choose Label Only from the Layout menu.

  4. Select an option from the When To Scale menu:

    Always

    Scales the icon as defined regardless of its size in relation to the button size.

    Never

    Preserves the original size of the icon; the button border crops the icon if it doesn’t fit. If Never is selected, scale options aren’t available.

    Icon Is Too Big

    Scales the icon as defined only if it is larger than the button.

    Icon Is Too Small

    Scales the icon as defined only if it is smaller than the button.

  5. From the Scale menu, select whether to scale the icon proportionally. If the icon is scaled nonproportionally, it may be skewed.

  6. To make sure that either the top and bottom or left and right sides of the icon are flush against the button edges, select Fit To Bounds.

  7. To define where the icon is placed inside the button, drag the slider arrows. Icon placement is defined according to the percentage of space preserved between the icon and the left field boundary, and between the icon and the bottom field boundary. The default setting (50, 50) places the icon in the middle of a field. You can click Reset at any time to revert to the default placement setting.

  8. Click OK, and then click Close.

  9. To preview and test the button, click Preview at the right-end of the toolbar. Once you are done, you can either click Edit to return to the Prepare Form tool, or click the cross icon at the right-end of the toolbar to close the tool.

Hide an Acrobat button except during rollover

In some cases, you may want the button area to be invisible until the pointer moves over it. By alternately showing and hiding a button, you can create interesting visual effects in a document. For example, when you move a pointer over a city on a map, a detail map of the city could be displayed, and the detail map could disappear when the pointer moves away from the city.

Showing and hiding icons
Showing and hiding icons

A. Pointer not over button area B. Pointer enters button area C. Pointer exits button area 

  1. If you are not in form editing mode, choose Tools > Prepare Form.

  2. Using the Button tool , drag across the area where you want the pop-up button to appear. For example, if the PDF file contains a map of France, drag across the area where you want a detailed map of Paris to pop up.

  3. Double-click the button, and then click the Options tab and choose Icon Only from the Layout menu.

  4. Choose Push from the Behavior menu, and then choose Rollover from the State list.

  5. Click Choose Icon, and then click Browse. Select the file type from the File Of Type, navigate to the location of the image file, and then double-click the file. In this example, you would select a map of Paris. Click OK to accept the previewed image as the button.

  6. Click the Appearance tab. If needed, deselect Border Color and Fill Color, and then click Close.

  7. If you are in the edit mode, click Preview. The image field you defined appears as the pointer rolls over the button area and disappears when it exits.

    Note:

    If you want the image to be larger than the rollover area, or if you want the image to be in a different location than the image button that pops up, use the Show/Hide A Field action. First, you specify an icon for the button that will be shown and hidden. Next, you create a second button that acts as a hot spot when the mouse rolls over it. You do not assign an icon for the appearance of the second button. Instead, you use the Actions tab to show the first button when the pointer enters the second button, and hide the first button when the pointer exits.

  8. Once you are done, you can either click Edit to return to the Prepare Form tool, or click the cross icon at the right-end of the toolbar to close the tool.

 Adobe

Get help faster and easier

New user?