Fieldcode IF

K

Kjell Blomseth

Hello
I am creating a schema where I want to autofill some information.

In one line I have created a dropdown-list. Word has given the the list the
bookmark-name List1.
In the next line I have tried to create an "IF-question":
{ IF { List1 } = "Value x" "Textstring ..." }

I had expected Word to fill in "Textstring ..." in the line, if I chose
"Value x" from the drop-down-list.

(Values in the drop-down-list will be company names, and values in the next
lines will be their address. Any smarter solutions than IF-question?)
 
P

Peter Jamieson

If you're using on "online form" (with form fields in the document
etc.), you will need to do at least the following:
a. in the properties of the dropdown, check Calculate on Exit
b. have a second form field
c. after you have selected the value in the dropdown, exit the field.
If you just have a protected form with two fields, that means (more or
less) either clicking in another form field, or tabbing out of the
dropdown field.

(If you have unprotected sections in the document, clicking in the
unprotected section may also "exit the field". However, then there is a
problem, which is that if you click in the protected section after the
last form field, Word will put the insertion point in the unprotected
section without "exiting the field", and then nothing much will work
until you go reselect the dropdown field and "exit the field" as in
point (c).)

Peter Jamieson

http://tips.pjmsn.me.uk
 
K

Kjell Blomseth

Hi
You solved my problem, thx a lot!

Kjell

Peter Jamieson said:
If you're using on "online form" (with form fields in the document
etc.), you will need to do at least the following:
a. in the properties of the dropdown, check Calculate on Exit
b. have a second form field
c. after you have selected the value in the dropdown, exit the field.
If you just have a protected form with two fields, that means (more or
less) either clicking in another form field, or tabbing out of the
dropdown field.

(If you have unprotected sections in the document, clicking in the
unprotected section may also "exit the field". However, then there is a
problem, which is that if you click in the protected section after the
last form field, Word will put the insertion point in the unprotected
section without "exiting the field", and then nothing much will work
until you go reselect the dropdown field and "exit the field" as in
point (c).)

Peter Jamieson

http://tips.pjmsn.me.uk


.
 

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