User Guide
Nitro PDF Pro
Forms

Show or Hide Fields

There may be cases when you wish to show or hide certain fields in your PDF form; for example, if the user clicks a button, a new group of fields is displayed. You have several options to select from when showing or hiding fields: you can elect to show or hide an individual field by setting the field’s General properties, or you can write your own custom JavaScript to show and hide fields based on user action (for example, if a user hovers over a button or another). As another option, you can create a button that will show or hide specific fields when pressed.

How to show/hide fields:

1. Open the PDF in Nitro Pro

2. On the Forms ribbon tab, click Push Button.

3. On the page, drag the pointer where you want the button to appear.

4. Double-click on the field and under the Properties ribbon, name the field and then set General and Appearance properties.

5. In the Options tab, select Layout and select Label only. Click the Label field and enter Show/Hide Fields.

6. In the Actions tab, click Select Action and select Show/Hide Fields from the drop down menu.

7. Click Add Action to List… and then do one of the following:

  • Click Show.
  • Click Hide.

8. Click OK.

Tags
Nitro PDF Pro