Required Fields

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

Guest

I am trying to create a template form for the sales people in the company to fill in when a new sale is sent to the shop. I want to creat a template with fields that have text such as, "Click here to enter name" and others required for an order generation. I want every field to be filled in before the order can be saved and sent as an attachment. Is there a ay to make it so that certain fields are required to be filled in before the document can be saved, or so that all fields on the document have to be filled in before the document can be saved

Thanks
 
You can't absolutely force it, but you can

a) run a macro on exit from the form field, which can check if the field is
empty and give a rude message if it is

b) provide macros called FileSave and FileSaveAs, which will run in place of
the built-in commands. These can check if all required fields have been
entered and save the document only if they have.

It doesn't take much know-how to defeat these measures, but for everyday
purposes they would suffice.


mhunley said:
I am trying to create a template form for the sales people in the company
to fill in when a new sale is sent to the shop. I want to creat a template
with fields that have text such as, "Click here to enter name" and others
required for an order generation. I want every field to be filled in before
the order can be saved and sent as an attachment. Is there a ay to make it
so that certain fields are required to be filled in before the document can
be saved, or so that all fields on the document have to be filled in before
the document can be saved?
 
Two points:

1. I assumed from the OP's reference to "Click here to enter name" that he
was talking about MacroButton fields, and there is no way (that I know of)
to validate them.

2. Although it's possible to validate form fields, they won't be "empty" if
they contain a prompt such as "Click here to enter name."

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top