Others

Fix Dropdown Field Visibility in Adobe LiveCycle Designer

Emma BrownEmma Brown Nov 25, 2026 869 views

Question details

The user needs a LiveCycle Designer PDF form to update field visibility consistently whenever a dropdown selection changes.

Fix Dropdown Field Visibility in Adobe LiveCycle Designer
Product
Adobe LiveCycle Designer
Device & OS
not provided
Scenario
A dropdown selection controls the visibility of fields in a subform.
Observed behavior
On a subsequent selection, fields may reset, the dropdown may become empty, or the expected subform fields may not appear until another selection.
Before you start

Open the source form in LiveCycle Designer and identify the dropdown, its controlling scripts, and the subform containing the affected fields. Note which PDF viewer is used for testing and whether the form is saved as a dynamic PDF.

Solution 1Recommended

Review the Dropdown Event and Subform Visibility Logic

Check whether the script reads the new selection at the right time and updates the intended subform.

1
Inspect the dropdown script

Select the dropdown in LiveCycle Designer and use the Script Editor to review its change and exit events. In a change event, check whether the script needs the pending selection from xfa.event.newText rather than the field's current rawValue.

2
Check the target subform

Use the Hierarchy palette to locate the affected subform and verify that the script references the correct object. Check the presence values assigned for each dropdown choice, including any branch that hides the subform.

3
Look for resets and binding conflicts

Inspect the dropdown's binding and any initialize, calculate, or other scripts that modify its value or the subform. Look for logic that clears the dropdown or resets fields when visibility changes.

4
Test repeated selections

Preview the form in a compatible Adobe PDF viewer and select each dropdown option more than once. Confirm that the dropdown retains its selection and that the intended fields appear after each change.

Review the Dropdown Event and Subform Visibility Logic
Dynamic form behavior: Visibility changes that affect layout may require a dynamic PDF and a viewer that supports XFA forms. Behavior can differ in browser-based PDF viewers.
Free Microsoft Office alternative

Work With Office Documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for an easier move between office suites. It does not repair LiveCycle Designer scripts or replace an XFA-compatible PDF viewer.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse familiar document, spreadsheet, and presentation toolsWork with PDFs alongside other office filesMove between compatible Office documents without learning a completely new interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does the subform appear only after another dropdown selection?

The change-event script may be reading the field's previous rawValue rather than the pending selection. In the Script Editor, review the change event and check whether xfa.event.newText is appropriate for the script.

Why does the dropdown become empty after a selection?

A script or binding operation may be resetting the value. Check the dropdown's binding and its initialize, calculate, change, and exit scripts for assignments that clear or replace the selection.

What is the difference between hidden and invisible presence?

In an XFA form, a hidden object is not displayed and does not occupy layout space, while an invisible object is not displayed but retains its space. Check the presence value assigned to the target subform in the Script Editor.

Can I test the form in any PDF viewer?

Not all PDF viewers support dynamic XFA forms. Test the saved form in a compatible Adobe PDF viewer and compare the result with any browser viewer where the issue occurs.

Where can I get help with a LiveCycle Designer script?

Post in the Adobe Experience Manager community with the dropdown script, subform hierarchy, binding settings, and steps that reproduce the problem.