J
johnnykunst
I have the following macro which works great to make a form drop down list mandatory to fill in
Sub MustFillIn(
If ActiveDocument.FormFields("nameDD").Result = "ENTER NAME" The
D
sInFld = InputBox("This field must be filled in, fill in below."
Loop While sInFld = "
ActiveDocument.FormFields("nameDD").Result = sInFl
End I
End Su
However, the user is free to enter whatever they want in the input box, although the field this fires from if nothing is entered is a drop down- is there any way to make the input box that pops up contain the same list as the actual drop down on the form
Sub MustFillIn(
If ActiveDocument.FormFields("nameDD").Result = "ENTER NAME" The
D
sInFld = InputBox("This field must be filled in, fill in below."
Loop While sInFld = "
ActiveDocument.FormFields("nameDD").Result = sInFl
End I
End Su
However, the user is free to enter whatever they want in the input box, although the field this fires from if nothing is entered is a drop down- is there any way to make the input box that pops up contain the same list as the actual drop down on the form