How to Create a Two-Line Drop-Down Option in a PDF Form
Question details
The user wants to know if it is possible to display drop-down menu options on two separate lines, such as a main title followed by a description, within a PDF form.
- Product
- Device & OS
- not provided
- Scenario
- Designing an interactive PDF form that requires detailed descriptions for each user selection in a drop-down menu.
- Observed behavior
- Standard PDF combo-box items are restricted to a single line of text and do not support multi-line display or text wrapping for individual options.
Keep in mind that standard PDF specifications limit combo-box fields to single-line text. Consider adapting your form design to use concise labels before attempting more complex script-based workarounds.
Use Concise Labels with a Separate Text Field
The most reliable method is to keep drop-down options to one short line and use a separate, dynamically updated text field to display the longer description.
Since native PDF combo boxes cannot wrap text, this approach separates the selection action from the description display. It ensures broad compatibility across almost all PDF viewers.
Insert a standard drop-down (combo box) field in your PDF form and populate it with short, single-line titles as the options.
Add a multi-line, read-only text field directly below or next to the drop-down menu where the description will appear.
Add a custom JavaScript calculation script to the text field so that its value automatically updates to display the corresponding two-line description based on the current drop-down selection.

Utilize a Wider List Box Instead of a Combo Box
A list box can sometimes be formatted more flexibly to show more text horizontally or vertically.
Implement a Custom JavaScript Dialog
For advanced requirements, bypass standard form fields by creating a custom pop-up dialog to achieve a multi-line selection interface.
Create and Edit PDF Forms Easily with WPS Office
WPS Office provides a robust set of PDF tools that make creating, editing, and filling out interactive PDF forms simple. Whether you need to insert drop-down menus, text fields, or checkboxes, WPS PDF handles it efficiently and reliably.
- 1. Open the PDF document: Launch WPS Office and load your PDF file into the WPS PDF editor.
- 2. Access form tools: Navigate to the 'Form' tab on the top ribbon to access the interactive form controls.
- 3. Insert a form field: Select the 'Combo Box' or 'Text Field' tool and draw it onto the desired location on your page.
- 4. Configure options: Double-click the newly created field to open its properties, add your dropdown options, and save the document.

Frequently Asked Questions
Why doesn't standard PDF support multi-line drop-down items?
The underlying PDF specification for combo-box form fields is designed strictly for single-line text values. Text wrapping or forced line breaks within a single drop-down choice are not natively supported by standard PDF viewers.
Can I force a line break in a PDF drop-down item using code?
No, inserting line break characters like '\n' or '\r' in the item name or export value will generally be ignored or displayed as a specialized placeholder character rather than forcing the text to wrap to a second line.
Will custom JavaScript forms work on mobile PDF viewers?
Usually not. Custom JavaScript dialogs (such as app.execDialog) and complex calculation scripts are often unsupported or behave unpredictably on third-party mobile PDF readers and web browsers.




