How to Show a Drop-Down List and Signature Field for Each Checkbox in PDF
Question details
The user needs a dynamic PDF form where selecting a specific software-module checkbox automatically reveals a corresponding module-owner drop-down list and a digital signature field.

- Product
- Adobe Acrobat / PDF
- Device & OS
- not provided
- Scenario
- Creating an interactive PDF form with conditional logic to only display drop-down and signature fields when their associated checkboxes are selected by the user.
- Observed behavior
- The drop-down lists and signature fields should remain hidden or read-only until the user actively checks the related module's checkbox.
Ensure you are using a PDF editor with advanced form creation features and JavaScript support, such as Adobe Acrobat Pro or WPS Office.
Use Custom JavaScript to Toggle Field Visibility
Create the drop-down and signature fields, set them to hidden by default, and use a JavaScript action on the checkbox to control their visibility.
To achieve dynamic field visibility in a PDF form, you must utilize form field properties and custom JavaScript. The dependent fields (drop-down and signature) are placed on the document but kept invisible until the trigger field (checkbox) is activated.
Open your PDF form editor and add a Checkbox field. Then, add the Drop-Down field and the Digital Signature field next to it. Assign them clear, unique names (e.g., 'Module1Checkbox', 'Module1Dropdown', 'Module1Signature').
Right-click the Drop-Down field and select 'Properties'. Under the 'General' tab, find the 'Form Field' property and change it from 'Visible' to 'Hidden'. Repeat this step for the Signature field.
Right-click the Checkbox field and select 'Properties'. Go to the 'Actions' tab. Choose 'Mouse Up' for the trigger and 'Run a JavaScript' for the action, then click 'Add'.
In the JavaScript editor, enter code to toggle visibility. For example: if(event.target.value != "Off") { this.getField("Module1Dropdown").display = display.visible; this.getField("Module1Signature").display = display.visible; } else { this.getField("Module1Dropdown").display = display.hidden; this.getField("Module1Signature").display = display.hidden; }
Switch to 'Preview' or 'Hand' mode in your PDF editor. Click the checkbox to verify that the drop-down and signature fields appear when checked, and disappear when cleared.

Create Interactive PDF Forms Easily with WPS Office
WPS Office offers a comprehensive suite of PDF tools, making it easy to design dynamic, interactive forms. With built-in support for form controls like checkboxes, drop-down menus, and digital signatures, you can streamline your document workflows.
- 1. Open your PDF: Launch WPS Office and open the PDF document you want to convert into an interactive form.
- 2. Access the Form tab: Navigate to the 'Form' tab on the top ribbon to reveal the interactive form controls.
- 3. Insert form fields: Click on 'Check Box', 'Drop-Down', or 'Signature' tools to place the respective fields directly onto your document.
- 4. Adjust properties: Double-click any field to access its properties, change its default visibility, and format it to meet your dynamic form requirements.

Frequently Asked Questions
Why does adding multiple digital signatures cause issues in a PDF?
Acrobat's signature field uses a digital certificate to sign and encode the entire file. If multiple signature blocks are applied sequentially without proper certification settings, modifying the document (like revealing new fields) can invalidate earlier signatures. Usually, only the last signature can be fully verified.
Can I hide a signature field in a PDF by default?
Yes. You can access the properties of the signature field under the General tab and set its visibility status from 'Visible' to 'Hidden'. It will remain invisible until triggered by an action like a checkbox selection.
How do I test if my checkbox JavaScript is working?
Exit form editing mode and select the Preview or Hand tool. Click the checkbox to simulate user interaction. If the script is correct, the hidden drop-down and signature fields will immediately appear, and unchecking the box will hide them again.




