Mandatory field in word document

  jnevill 16:19 07 Aug 2003

I am designing some forms using MS Word 97. They need to include mandatory fields that must be completed before the user can proceed to next sheet or print form. Is there a way of doing this in word?

  Chris the Ancient 16:29 07 Aug 2003

A darned good question!

In Word XP (afraid the only one I remember at the moment), you can add a property to the form field (right click field and call up properties) that allows you to have a macro associated with that field. You would then need to have the macro check if the field is not blank before you are allowed to move to the next page.

My Word macro'ing is a little rusty, but I'm sure that a vbasic guru can then design something appropriate. Let's hope that VoG spots this and picks up the challenge!


  jazzypop 19:33 07 Aug 2003

See click here - an excellent set of links to creating Forms in Word.

  jnevill 19:47 07 Aug 2003

Many thanks Chris & Jazzypop, I'll have a look at both


  Chris the Ancient 20:37 07 Aug 2003

An incredible link. I love it (and I've saved it!)


  Chris the Ancient 20:37 07 Aug 2003

An incredible link. I love it (and I've saved it!)


  Chris the Ancient 20:38 07 Aug 2003

Sticky finger job.

  VoG II 20:44 07 Aug 2003

... for saving me from being volunteered by Chris the Ancient to write a load of VBA code!

I have written a little VBA for Word but I'm most at home in Excel.

  jnevill 20:47 07 Aug 2003

I did think the form may work better in Excel if you have any suggestions!!!!!

  Chris the Ancient 20:52 07 Aug 2003

I thought you might like a little mental exercise before your holiday.. LOL


  VoG II 20:57 07 Aug 2003

No I think you're better off with jazzypop's link!

If you are serious you could do this using UserForms in Excel click here and checking that all fields were completed using a bit of VBA code.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Nokia 6 (2018) review

iPad 9.7in (2018) review

Comment retrouver son code Wifi ?