Floating text in a filliable text box

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

Guest

Hello,

I create a form using Word 2000 and I would like set a filliable field
(check box, radio buttom..) as a mandatory field. How can I do that ? With
Macros ?

Could you provide me with a macro fot that ?

Thanks a lot
 
Checkboxes and Radio buttons are, in effect, mandatory anyway; they're
either checked or not by definition so I'm not quite sure what you want.

To make a *text* form field mandatory put some code like this in the Entry
macro of the *next* form field:

With ActiveDocument.FormFields("text1")
If .Result = "" Then
MsgBox "please fill in the box before continuing"
.Select
End If
End With
 
Back
Top