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.
To show/hide fields:
- Open the PDF in Nitro Pro 7
- On the Forms ribbon tab, click Push Button
- On the page, drag the pointer where you want the button to appear
- Name the field and then set General and Appearance properties
- In the Options tab, select Layout and select Label only. Click the Label field and enter Show/Hide Fields
- In the Actions tab, click Select Action and select Show/Hide Fields from the drop down menu
- Do one of the following:
- Click Show
- Click Hide
- Click OK