how to automate 'all fields complete on exit'

S

Suzanne S

HI guys,

I have a form which now contains fields for the user to complete.

I would like to be able to prevent the form from being closed if certain
fields are not completed but I cannot find any properties that will allow me
to do this.

I am using text form fields from the FORMS toolbar to create the fields.

Thanks in advance
Suzanne
 
C

Chuck Henrich

Hi Suzanne

You might want to rethink this, regardless of whether it’s possible to
prevent closing a document if a form field doesn’t contain data.

If a user opens a document-based form but can’t complete it or decides not
to, then if you prevent them from closing the form before filling in all
fields, either they’ll fill in the fields with garbage info just to fill jump
through your hoops or they’ll be forced to Ctl+Alt+Del to exit Word (because
they can’t exit Word while a document is open). Either way you’ll annoy your
users and/or get a lot of useless responses.

A macro-based userform might be a better solution for you, instead of a
document form with form fields. With the userform, you can require all
fields to be completed before processing the user’s responses, while also
allowing the user to cancel out of the userform if they need to. You also
have more control over validating user supplied info before processing. If
all userform fields are filled in satisfactorily, your macro can then
populate the fields/bookmarks in your document.

HTH
 

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

Top