View Single Post
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Bryan Bryan is offline
external usenet poster
 
Posts: 61
Default Autopopulating a form field from a drop down form field

I have tried this with Word2000 and am having no luck.
I have 3 items in dropox and have done this
{IF {Dropdown1} = " " " " {IF {Dropdown1} = "Steve" "call" {IF {Dropdown1} =
"Mitch" "fax" }}}

When I select 'our' or 'Steve' from the dropbox, I am getting nothing

What am I missing?

"Jay Freedman" wrote:

Hi Shannon,

For purposes of illustration, I'll assume the dropdown form field has
the default name Dropdown1 and that you put in the items Yes and No.
You should also check the 'Calculation on exit' box in the Properties
dialog.

In the other place, do not put a text form field. Instead, put in this
field, using Ctrl+F9 to insert each matching pair of field braces:

{ IF {Dropdown1} = "Yes" "text for yes" "text for no" }

The Yes in this field must match the Yes item in the dropdown,
including capitalization. Replace the two text items with whatever
text you need for your form. Press F9 to collapse the field code, and
protect the form. When the user changes the dropdown and tabs to
another form field, the IF field will automatically update to the
corresponding text.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://www.mvps.org/word

"Shannon" wrote:

I have created a form in Word. One of the fields is a drop-down box (yes/no). Based on what they select in this drop down box, I would like another field (regular text field) to automatically populate with pre-defined text. Does anyone know how to do this?

Shannon