Text in Forms

S

Scott Taylor

I'm trying to create a simple form that has a drop-down and a text box. When
I select an item from the drop-down I want the textbox to display the text
from the drop-down.

Question is:

1. Can this be done using the form fields? if so, how?
2. Or should this be done via control toobox? if so how?

I know this should be something very simple but can't seem to figure it out.
 
J

Jonathan West

Scott Taylor said:
I'm trying to create a simple form that has a drop-down and a text box.
When
I select an item from the drop-down I want the textbox to display the text
from the drop-down.

Question is:

1. Can this be done using the form fields? if so, how?
2. Or should this be done via control toobox? if so how?

I know this should be something very simple but can't seem to figure it
out.

Take a look here

Please Fill Out This Form
Create professional-looking forms in Word.
http://www.computorcompanion.com/LPMArticle.asp?ID=22


Please Fill Out This Form, Part 2
Adding automation to your Word forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=46

Please Fill Out This Form, Part 3
Learn more about VBA macros to automate your form.
http://www.computorcompanion.com/LPMArticle.asp?ID=119
 
G

Graham Mayor

You can either use a calculated form field with the name of the dropdown as
the calculation (without the = sign) or use a Ref field to call the dropdown
field bookmark name.
Set the calculate on exit check box of the dropdown field.

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


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

Scott Taylor

Thanks for the update. I've tried this and when I protect the document the
text is listed as tt1 and doesn't change even if I select another item for
the dropdown list.

The items I have in the dropdown list is "Test1", "Test2", "Test3". The
name is the default name (Dropdown1) and I selected Calculate on exit.
The text box I selected calculation with the = sign removed and entered
Dropdown1.
 
G

Graham Mayor

I take it you dodn't put the feild in the page header/footer?
Did you tab out of the drop down field? The calculate on exit does not
operate until you do.
Did you try the REF field option e.g.
{ Dropdown1 }
Use Ctrl+F9 for the brackets!

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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