Word 2002

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can a “required field†be added to a form in Word 2002 so that the user who is entering information MUST complete that particular field before continuing
 
LEB said:
Can a "required field" be added to a form in Word 2002 so that the
user who is entering information MUST complete that particular field
before continuing?

Yes, but it will take a macro solution. See
http://word.mvps.org/FAQs/TblsFldsFms/ValidateFFields.htm for the basic
ideas.

In the macro given there, the validation test is in the line

If Len(.Result) > 0 And Left$(.Result, 3) <> "KLM" Then

Instead, you want to show the error message if the field is empty, so the
test needs to be

If Len(.Result) = 0 Then

Of course, you also need to change the field name used in the macro and the
text of the error message.
 

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

Back
Top