Document Editing Problems

Display Conditional Text from Word Drop-Down Fields

Muhammad TalhaMuhammad Talha Nov 18, 2026 870 views

Question details

Show a sentence containing two selected drop-down values only when both fields have a selection.

Product
Microsoft Word
Device & OS
not provided
Scenario
A Word form uses two drop-down fields to populate conditional text in a document.
Observed behavior
The desired sentence should appear with both selected values and remain empty if either field is unselected.
Before you start

Use desktop Word and enable the Developer tab through File > Options > Customize Ribbon if it is not visible. Decide which exact text will represent an unselected value in each drop-down, such as Not Selected.

Solution 1Recommended

Use content controls and an IF field for conditional text

Use this approach to display a sentence only after both drop-downs have values other than Not Selected.

The IF field tests bookmarked drop-down values through REF fields. This example assumes each list initially displays the exact entry Not Selected.

An empty IF result hides the sentence, but it does not remove the paragraph mark or necessarily eliminate a blank line.

1
Create the drop-downs

On the Developer tab, insert two Drop-Down List Content Controls. Select each control, open Properties, and add Not Selected and the choices you need. Set Not Selected as the initial displayed entry in both controls.

2
Bookmark each control

Select the first entire content control, choose Insert > Bookmark, and name it Choice1. Repeat for the second control using Choice2. Make sure each bookmark surrounds its control rather than only the placeholder text.

3
Insert the conditional field

Place the cursor where the sentence should appear. Press Ctrl+F9 to create field braces and build this nested field: { IF "{ REF Choice1 }" = "Not Selected" "" "{ IF "{ REF Choice2 }" = "Not Selected" "" "Choices: { REF Choice1 } and { REF Choice2 }." }" }. Create every pair of field braces with Ctrl+F9; typed braces are not field codes.

4
Update and test the result

Select the field and press F9, then use Alt+F9 to switch between field codes and results if needed. Test both controls with Not Selected, each control selected separately, and both selected. Update the field with F9 after changing selections.

Field updates: Word fields may not refresh immediately when a drop-down changes. For automatic updates, a more advanced solution such as VBA or a content-control event may be needed.
Free Microsoft Office alternative

Edit Word Documents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents. Its format compatibility helps you move everyday documents between Office suites; test complex Word fields and content controls before relying on them.

Open and edit Microsoft Word DOC and DOCX documentsWork with form documents in a familiar word-processing interfaceUse a free, lightweight office suite for everyday editingMove compatible documents between WPS Writer and Microsoft Office
QA img-9

Frequently Asked Questions

Why does the sentence still appear when a drop-down is unselected?

Check Developer > Properties for each control and confirm that the displayed unselected entry exactly matches Not Selected in the IF field. Also check the Choice1 and Choice2 bookmarks through Insert > Bookmark.

Why doesn't the conditional text update when I change a selection?

Word may not recalculate the IF field immediately. Select the field and press F9 to update it; automatic updates may require a VBA or content-control event solution.

How do I show the field codes instead of the result?

Press Alt+F9 in Word to toggle field codes throughout the document. Press it again to return to the results.

Will an empty IF result remove the blank paragraph?

No. An empty result hides the field's text but leaves the paragraph mark. Place the field within an existing paragraph if a separate blank line is not wanted.