I have a question regarding the header/footer in a protected form.
Is
there a way to insert form fields in the header/footer in a protected
MS Word form? When an user opens the form file, I'd like the person
to go to the header and fill in the form fields, close the header,
and then fill in the rest of the form. And the header information
should repeat every page of the form. Right now it seems that when
protected, the user cannot access the header. Can anyone help me
with
this issue, if there's a way around it? Thank you!

Joy

Re: Protected Form Fields in Header Area by Jay

Jay
Thu Oct 18 18:17:05 PDT 2007

On Thu, 18 Oct 2007 17:39:30 -0700, jlee@valleywater.org wrote:

>I have a question regarding the header/footer in a protected form.
>Is
>there a way to insert form fields in the header/footer in a protected
>MS Word form? When an user opens the form file, I'd like the person
>to go to the header and fill in the form fields, close the header,
>and then fill in the rest of the form. And the header information
>should repeat every page of the form. Right now it seems that when
>protected, the user cannot access the header. Can anyone help me
>with
>this issue, if there's a way around it? Thank you!
>
>Joy

No, form fields aren't allowed in headers or footers.

One way to deal with it would be to put those form fields in the body
of the first page. In File > Page Setup > Layout, check "Different
first page" and leave the first page header/footer blank (or only
static text). Then use Ref fields to repeat the form field data in the
header/footer for the remaining pages
(http://gregmaxey.mvps.org/Repeating_Data.htm).

Another way, using macro code, is to present a custom dialog to gather
the information and store it in document variables. Then you can put
DocVariable fields in the header/footer to display the otherwise
invisible information. This has the drawback that macros in documents
trigger the security mechanism, and you can't count on every recipient
to allow your macros to run.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

Re: Protected Form Fields in Header Area by jlee

jlee
Fri Oct 19 12:54:09 PDT 2007

On Oct 18, 6:17 pm, Jay Freedman <jay.freed...@verizon.net> wrote:
> On Thu, 18 Oct 2007 17:39:30 -0700, j...@valleywater.org wrote:
> >I have a question regarding the header/footer in a protected form.
> >Is
> >there a way to insert form fields in the header/footer in a protected
> >MS Word form? When an user opens the form file, I'd like the person
> >to go to the header and fill in the form fields, close the header,
> >and then fill in the rest of the form. And the header information
> >should repeat every page of the form. Right now it seems that when
> >protected, the user cannot access the header. Can anyone help me
> >with
> >this issue, if there's a way around it? Thank you!
>
> >Joy
>
> No, form fields aren't allowed in headers or footers.
>
> One way to deal with it would be to put those form fields in the body
> of the first page. In File > Page Setup > Layout, check "Different
> first page" and leave the first page header/footer blank (or only
> static text). Then use Ref fields to repeat the form field data in the
> header/footer for the remaining pages
> (http://gregmaxey.mvps.org/Repeating_Data.htm).
>
> Another way, using macro code, is to present a custom dialog to gather
> the information and store it in document variables. Then you can put
> DocVariable fields in the header/footer to display the otherwise
> invisible information. This has the drawback that macros in documents
> trigger the security mechanism, and you can't count on every recipient
> to allow your macros to run.
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ:http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the
> newsgroup so all may benefit.

I used autotext formula and it worked! Thank you! However, there's a
problem. Initial "numpages" works okay, but when more pages are
added, the "numpages" field won't update. I try switching to another
view, etc., but it won't update to the changed number of pages. I
don't think I missed any step . . . Is there a way to fix this
problem?

Puzzling,
Joy


Re: Protected Form Fields in Header Area by Jay

Jay
Fri Oct 19 14:35:24 PDT 2007

jlee@valleywater.org wrote:
> On Oct 18, 6:17 pm, Jay Freedman <jay.freed...@verizon.net> wrote:
>> On Thu, 18 Oct 2007 17:39:30 -0700, j...@valleywater.org wrote:
>>> I have a question regarding the header/footer in a protected form.
>>> Is
>>> there a way to insert form fields in the header/footer in a
>>> protected MS Word form? When an user opens the form file, I'd like
>>> the person to go to the header and fill in the form fields, close
>>> the header, and then fill in the rest of the form. And the header
>>> information should repeat every page of the form. Right now it
>>> seems that when protected, the user cannot access the header. Can
>>> anyone help me with
>>> this issue, if there's a way around it? Thank you!
>>
>>> Joy
>>
>> No, form fields aren't allowed in headers or footers.
>>
>> One way to deal with it would be to put those form fields in the body
>> of the first page. In File > Page Setup > Layout, check "Different
>> first page" and leave the first page header/footer blank (or only
>> static text). Then use Ref fields to repeat the form field data in
>> the header/footer for the remaining pages
>> (http://gregmaxey.mvps.org/Repeating_Data.htm).
>>
>> Another way, using macro code, is to present a custom dialog to
>> gather the information and store it in document variables. Then you
>> can put DocVariable fields in the header/footer to display the
>> otherwise invisible information. This has the drawback that macros
>> in documents trigger the security mechanism, and you can't count on
>> every recipient to allow your macros to run.
>>
>> --
>> Regards,
>> Jay Freedman
>> Microsoft Word MVP FAQ:http://word.mvps.org
>> Email cannot be acknowledged; please post all follow-ups to the
>> newsgroup so all may benefit.
>
> I used autotext formula and it worked! Thank you! However, there's a
> problem. Initial "numpages" works okay, but when more pages are
> added, the "numpages" field won't update. I try switching to another
> view, etc., but it won't update to the changed number of pages. I
> don't think I missed any step . . . Is there a way to fix this
> problem?
>
> Puzzling,
> Joy

It sounds like you've hit the "Page X of Y" bug. Read
http://www.word.mvps.org/FAQs/AppErrors/PageXofY.htm for possible solutions.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.