Help with Nested Fields

J

Jules

I have some forms (which are protected) containing nested fields.

1. How do I get word to stop asking for the info for the second of level of
fields twice. I have an ASK field which is a choice between 'a' and 'b'.
Based on whether 'a' or 'b' is chosen, FILLIN fields appear asking for
information. These FILLIN fields always appear twice. Is there any way to
stop this.

2. Sometimes, the information inserted for the second or third level of
nesting disappears when the document prints. Is there a way to fix this.

Thanks,
 
S

Stefan Blom

What is the field code used?

Is the "Update fields" option selected in Tools | Options, Print tab?
 
C

Cindy M.

Hi =?Utf-8?B?SnVsZXM=?=,
I have some forms (which are protected) containing nested fields.

1. How do I get word to stop asking for the info for the second of level of
fields twice. I have an ASK field which is a choice between 'a' and 'b'.
Based on whether 'a' or 'b' is chosen, FILLIN fields appear asking for
information. These FILLIN fields always appear twice. Is there any way to
stop this.

2. Sometimes, the information inserted for the second or third level of
nesting disappears when the document prints. Is there a way to fix this.
Don't nest the fields. An ASK field generates a bookmark that contains what the
user entered into the field. Use a REF field to query that, in the "quote" text
for the Fillin field. Try something like this:

{ ASK topic1 "Do you want a or b?" }

{ FILLIN "{ IF "{ REF topic1}" = "a" "Prompt for a" "Prompt for b" }" }

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
J

Jules

Here is an example of the type of fields

{ASK "Signing" "Select 'a' for standard, 'b' for company or 'c' for
attorney"}{IF Signing = "a" "Name of Signee {FILLIN "Insert name of
signee"}"}{IF Signing = "b" "Company Name {FILLIN "Insert name of company"}
and Company Number {FILLIN "Insert company number"}}{IF Signing = "c"
"Attorney Name {FILLIN "Insert attorney name"}}

Of course, this is not the exact text, but an example of how I have used the
fields. Once 'a', 'b' or 'c' is chosen, the fillin fields for that choice
prompt for the information to be inserted and then prompt again showing the
information that has been inserted.
 
J

Jules

Sorry I should have stated also that NO the update fields is not selected in
the print options. This problem occurs within the document, not when
printing.
 
S

Stefan Blom

It doesn't seem to work, even if you add quotation marks to separate the
true and false parts of the field construct...

Fortunately, you can use Cindy's solution. In the case of three
alternatives, you would get this:

{ ASK "Signing" "Select 'a', 'b' or 'c' }

{ FILLIN { IF Signing = "a" "Prompt text for a" "{ IF Signing = "b"
"Prompt text for b" "{ IF Signing = "c" "Prompt text for c" } }"" } }

--
Stefan Blom
Microsoft Word MVP


in message
 
S

Stefan Blom

{ ASK "Signing" "Select 'a', 'b' or 'c' }

Correction: Of course there should be a double quotation mark at the end
of the ASK field:

{ ASK "Signing" "Select 'a', 'b' or 'c'" }

--
Stefan Blom
Microsoft Word MVP


in message
 
M

macropod

Hi Jules,

You could simplify this down to something like:
{QUOTE{ASK Signing "Select 'a', 'b' or 'c'" }{FILLIN "Insert name of {IF{Signing}= a "signee's name" {IF{Signing}= b "company name"
"attorney name"}}"}}

The QUOTE field that I've wrapped around the lot simply ensures the FILLIN field fires (once) anytime the ASK field does.

Cheers
 
J

Jules

Great, thanks everyone. I should be able to fix things now

macropod said:
Hi Jules,

You could simplify this down to something like:
{QUOTE{ASK Signing "Select 'a', 'b' or 'c'" }{FILLIN "Insert name of {IF{Signing}= a "signee's name" {IF{Signing}= b "company name"
"attorney name"}}"}}

The QUOTE field that I've wrapped around the lot simply ensures the FILLIN field fires (once) anytime the ASK field does.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Jules said:
Sorry I should have stated also that NO the update fields is not selected in
the print options. This problem occurs within the document, not when
printing.
 
S

Stefan Blom

Thanks for this clever solution, using a QUOTE field.

--
Stefan Blom
Microsoft Word MVP


macropod said:
Hi Jules,

You could simplify this down to something like:
{QUOTE{ASK Signing "Select 'a', 'b' or 'c'" }{FILLIN "Insert name of {IF{Signing}= a "signee's name" {IF{Signing}= b "company name"
"attorney name"}}"}}

The QUOTE field that I've wrapped around the lot simply ensures the FILLIN field fires (once) anytime the ASK field does.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Jules said:
Sorry I should have stated also that NO the update fields is not selected in
the print options. This problem occurs within the document, not when
printing.
 
M

macropod

You're welcome - I use it that way extensively.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Stefan Blom said:
Thanks for this clever solution, using a QUOTE field.

--
Stefan Blom
Microsoft Word MVP


macropod said:
Hi Jules,

You could simplify this down to something like:
{QUOTE{ASK Signing "Select 'a', 'b' or 'c'" }{FILLIN "Insert name of {IF{Signing}= a "signee's name" {IF{Signing}= b "company
name"
"attorney name"}}"}}

The QUOTE field that I've wrapped around the lot simply ensures the FILLIN field fires (once) anytime the ASK field does.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Jules said:
Sorry I should have stated also that NO the update fields is not selected in
the print options. This problem occurs within the document, not when
printing.

:

Here is an example of the type of fields

{ASK "Signing" "Select 'a' for standard, 'b' for company or 'c' for
attorney"}{IF Signing = "a" "Name of Signee {FILLIN "Insert name of
signee"}"}{IF Signing = "b" "Company Name {FILLIN "Insert name of company"}
and Company Number {FILLIN "Insert company number"}}{IF Signing = "c"
"Attorney Name {FILLIN "Insert attorney name"}}

Of course, this is not the exact text, but an example of how I have used the
fields. Once 'a', 'b' or 'c' is chosen, the fillin fields for that choice
prompt for the information to be inserted and then prompt again showing the
information that has been inserted.



:

What is the field code used?

Is the "Update fields" option selected in Tools | Options, Print tab?

--
Stefan Blom
Microsoft Word MVP


:

I have some forms (which are protected) containing nested fields.

1. How do I get word to stop asking for the info for the second of level of
fields twice. I have an ASK field which is a choice between 'a' and 'b'.
Based on whether 'a' or 'b' is chosen, FILLIN fields appear asking for
information. These FILLIN fields always appear twice. Is there any way to
stop this.

2. Sometimes, the information inserted for the second or third level of
nesting disappears when the document prints. Is there a way to fix this.

Thanks,
 
S

Stefan Blom

Well, I've been using QUOTE fields too; for example, to display the
numbering of the current heading (assisted by macros, of course). I
wonder why I didn't think of them this time... :)

--
Stefan Blom
Microsoft Word MVP


in message
You're welcome - I use it that way extensively.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Thanks for this clever solution, using a QUOTE field.

--
Stefan Blom
Microsoft Word MVP


macropod said:
Hi Jules,

You could simplify this down to something like:
{QUOTE{ASK Signing "Select 'a', 'b' or 'c'" }{FILLIN "Insert name of {IF{Signing}= a "signee's name" {IF{Signing}= b "company
name"
"attorney name"}}"}}

The QUOTE field that I've wrapped around the lot simply ensures the FILLIN field fires (once) anytime the ASK field does.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Sorry I should have stated also that NO the update fields is not selected in
the print options. This problem occurs within the document, not when
printing.

:

Here is an example of the type of fields

{ASK "Signing" "Select 'a' for standard, 'b' for company or 'c' for
attorney"}{IF Signing = "a" "Name of Signee {FILLIN "Insert name of
signee"}"}{IF Signing = "b" "Company Name {FILLIN "Insert name of company"}
and Company Number {FILLIN "Insert company number"}}{IF Signing = "c"
"Attorney Name {FILLIN "Insert attorney name"}}

Of course, this is not the exact text, but an example of how I have used the
fields. Once 'a', 'b' or 'c' is chosen, the fillin fields for that choice
prompt for the information to be inserted and then prompt again showing the
information that has been inserted.



:

What is the field code used?

Is the "Update fields" option selected in Tools | Options, Print tab?

--
Stefan Blom
Microsoft Word MVP


:

I have some forms (which are protected) containing nested fields.

1. How do I get word to stop asking for the info for the second of level of
fields twice. I have an ASK field which is a choice between 'a' and 'b'.
Based on whether 'a' or 'b' is chosen, FILLIN fields appear asking for
information. These FILLIN fields always appear twice. Is there any way to
stop this.

2. Sometimes, the information inserted for the second or third level of
nesting disappears when the document prints. Is there a way to fix this.

Thanks,
 

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