using drop down menus in If fields

J

joe thacker

I'm making a form in Word 2003, and it has a dropdown menu, Dropdown1, and I
want to use it in an If field, let's say it's a simple yes/no choice. the
field looks like:
{ if Dropdown1 = "yes" "yes" "no" }
but when I change my answer, it stays on the results. I tried moving the
spaces (="yes", etc.) and even though I get a different resluts, sometimes
wrong, it still won't change.
 
G

Graham Mayor

The syntax is
{ IF{ Dropdown1 } = "yes" "yes" "no" }
or
{ IF{ Dropdown1 } = "y*" "yes" "no" }

Where the "yes" that the dropdown equals is spelled identically to that in
your dropdown. The test is case sensitive.

You need to check the calculate on exit check box of the dropdown field and
the result will occur when you tab out of the dropdown.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Suzanne S. Barnhill

IF fields in forms frequently require REF fields to reference form
bookmarks, so if the syntax below doesn't work, then this can be tried:

{ IF { REF Dropdown1 } = "yes" "yes" "no" }

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top