I am creating a template and there are several fields that
are manditory that they be filled in. How do I make it so
the person inputting must enter something in that fiels?
Doug Robbins - Word MVP - 08 Jun 2004 05:53 GMT
If the fields are formfields as used in a protected document, you can run a
macro to check the .Result property of the formfield.
See:
Please Fill Out This Form
Part 1: Create professional looking forms in Word
http://www.computorcompanion.com/LPMArticle.asp?ID=22
Part 2: Adding Automation to your Word forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=46
Part 3: Learn more VBA (macros) to automate your forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=119
Part 4: Use custom dialog boxes in your Word forms
http://www.computorcompanion.com/LPMArticle.asp?ID=127
Part 5: Connect your AutoForm to a database to save input time and keep
better records!
http://www.computorcompanion.com/LPMArticle.asp?ID=136
If they are textboxes on a userform, use the exit event of the textbox to
check the .Text property

Signature
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
> I am creating a template and there are several fields that
> are manditory that they be filled in. How do I make it so
> the person inputting must enter something in that fiels?
Charles Kenyon - 08 Jun 2004 13:30 GMT
See http://word.mvps.org/FAQs/TblsFldsFms/ValidateFFields.htm.
What you are talking about is what Word calls an "online form." For more
about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customization/FillinTheBlanks.htm especially Dian
Chapman's series of articles.
Hope this helps,

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> I am creating a template and there are several fields that
> are manditory that they be filled in. How do I make it so
> the person inputting must enter something in that fiels?