• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Adding a Show/hide field

Form fields, such as buttons, can be set to appear only when they are needed. For example, you can have a form field that only appears if a certain checkbox or button is selected, or when the mouse is in a certain location. In this exercise, you will use two overlapping images that have been placed in the PDF as buttons. One of the two images appears when you click a button, and disappears when you click a second button.

1.
Navigate to page two. Select the Zoom In tool (). Click and drag a box around both the map, and the buttons below the map, so that both are visible in the document window.

The red circle on the map with the number 1 in its center will be made to appear and disappear based upon which button is selected. You will start by making the circle hidden by default, and then require the viewer to click the Show Location button for the circle to appear.

2.
Choose the Button tool () and move the cursor over the map, notice that it is labeled boston common location. Red handles around the corners appear when you move your cursor over this field, indicating that it will be selected if you click. Double-click on the boston common location button field to open the Button Properties window.

3.
In the Button Properties window, choose the General tab and select Hidden from the Form Field drop-down menu. Click the Close button.

4.
Select the Hand tool (). The red circle showing the location of the Boston Common along the trail is now hidden from view.

5.
From the Advanced Editing toolbar, choose the Select Object tool (). Use this tool to edit all types of form fields, including buttons. Double-click the Show Location button. The Button Properties window appears.

6.
In the Button Properties window, choose the Actions tab. For Select Action choose Show/Hide a field. Leave the Select Trigger set to Mouse Up and click the Add button.

7.
In the Show/Hide Field window, choose the Show radio button on the right side of the window. From the list of fields, choose boston common location and click OK to close the Show/Hide Field window, then click Close to close the Button Properties window.

8.
Choose the Hand tool and click on the Show Location button. The red circle appears on the trail map, showing the location of the Boston Common.

9.
Choose the Select Object tool () and double-click the Hide Location button, which is located immediately to the right of the Show Location button.

10.
In the Button Properties window, choose the Actions tab. Leave the Select Trigger set to Mouse Up. For Select Action, click the menu and choose Show/Hide a field. Click the Add button. The Show/Hide Field window appears.

11.
In the Show/Hide Field window, choose the Hide radio button on the right side of the window. Choose boston common location from the list of available form fields, and click OK. Click Close to close the Button Properties window.

12.
Choose the Hand tool and alternate between selecting the Show Location and Hide Location button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint