View Single Post
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Making text fields required

You need the Entry macro adding to the field that you tab to. Add it to all
the other fields and you will not be able to leave the required field(s)
without entering something.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Victoria wrote:
This time it worked and a box comes up that says the field is
required, but then it just skips to the next text field and doesn't
stay on the field that needs to be filled in first??

What did I do wrong?

"Graham Mayor" wrote:

This is exactly what the macros do. Did you set the entry and exit
macros to run on all the relevant fields?

Add the following macro to the module that contains the macros you
copied from my web site and run it on the document. This will add
the macros to all the fields: Put your cursor in the first field,
then lock the form.

It won't work if you have default text in the field.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org