By Combobox I assume you mean a Dropdown formfield.
To do what you want, check the formfield's 'calculate on exit' property. Then, wherever you want the dependent content to appear, insert an IF field to test its contents. For example, suppose you're using a Dropdown formfield with the internal 'Dropdown1' bookmark and you want some conditional text to appear when the 'Widget' item is selected. You might code the IF test as:
{IF{REF Dropdown1} = "Widget" "You selected the widgets option"}
or:
{IF{REF Dropdown1} = "Widget" "You selected the widgets option" "This text appears if the widgets option hasn't been selected"}
Note: The field brace pairs (ie '{ }') for the above example are created in the body of the document via Ctrl-F9 (Cmd-F9 on a Mac) - you can't simply type them or copy & paste them from this message.
Example attached.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|