Tutorial: Adding GUI Controls in Adobe Acrobat 9



Adding Buttons

Adding Checkboxes

Adding Radio Buttons

Adding Buttons

The easiest way to add buttons is to use Acrobat's toolbar

Use mouse to place a button in the documents

After left-mouse-click Acrobat places a button in the document. Click on Show All Properties link to edit button properties

Use Button Properties dialog to set button label, Font, etc.

The final layout will look as

Adding Checkboxes

Go to the Forms menu and select Add or Edit Fields... menu item

Adobe Acrobat enters into the Form Editing mode. (Acrobat might ask to save document first)

Click Add New Field button in the toolbar and select Check Box

Place checkbox in the document

Name checkbox (its name will be used in the JavaScript code later)

Now we shall add a Text field which will serve as a label for our checkbox

Place Text field near the checkbox

Click Show All Properties link

Tick Read Only checkbox in the Text Field Properties dialog (General tab)

Enter text for the Text field in the Default Value Text field of the Text Field Properties dialog (Options tab)

The final layout will look as one below

Adding Radio Buttons

Radio buttons present a group of choices from which the user can select only one item. All radio buttons with the same name work together as a group

Go to the Forms menu and select Add or Edit Fields... menu item

Adobe Acrobat enters into the Form Editing mode. (Acrobat might ask to save document first)

Click Add New Field button in the toolbar and select Radio Button

Place it in the document

We shall use a set of mutually exclusive radio buttons, i.e. where only one can be selected at a time. To do so we shall give the radio buttons the same name but different button values.

We name it "switch_01" and set its value to "1"

We add the second radio button, name it "switch_01" as well, and set its value to "2"

We also might want to add labels for radio buttons. It's described here. The final layout may look like this

[Tutorial Home]


Send all questions, suggestions and comments to Vlad (vvv900@gmail.com)

Dr. Vladislav Vasilyev

Supercomputer Facility,

The Australian National University,

Canberra, ACT, 0200, Australia