Share via

Creating a Fillable Form in Microsoft Word 2016 with Mandatory fillable fields

Anonymous
2019-04-03T17:38:47+00:00

Hello can someone please give me step by step direction on this?  I need to create a fillable form in Word 2016 but it has to have fillable fields where all the information must be filled in before the form can be saved.  You cannot continue on until all fields are filled in.  I have to create this asap but cannot find the instructions on how to do this.  Help would be greatly appreciated!

Microsoft 365 and Office | Install, redeem, activate | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2019-04-04T08:15:41+00:00

Kindly Make sure that you set the appropriate "on exit" setting for the form field to run a macro. (Right-click on the field, choose Properties, and use the Exit drop-down list to select a macro to run.) The macro could check to make sure the value provided within the field is within acceptable bounds. If not, then the macro could move the insertion point back to the field to request input, or could prompt the user for the necessary information. The following is an example of a simple macro to do just this:

Sub MustFillIn()

If ActiveDocument.FormFields("Text1").Result = "" Then

    Do

        sInFld = InputBox("This field must be filled in, fill in below.")

    Loop While sInFld = ""

    ActiveDocument.FormFields("Text1").Result = sInFld

End If

End Sub

In this macro you would need to change the name of the field specified (Text1) to the name of the field you are using the macro with. This particular example checks to make sure that the user enters something—anything—in the field. Your macro, of course, could get much more specific in the checking it does.

For a more comprehensive approach, you could have the on-exit macros (if there is more than one mandatory field) set a system variable. When the user tries to save or close the form, the AutoExit macro could check the value of the variable, and if it shows there are mandatory fields not filled in, then a dialog box explaining the problem could be displayed..

Refer here:

https://wordribbon.tips.net/T008337_Using_Manda...

______________________________________________

Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information with reference. Thoroughly research products advertised on the sites before you decide to download and install it. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products).

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

9 additional answers

Sort by: Most helpful
  1. Anonymous
    2019-04-03T17:57:38+00:00

    Hello,

    I am Rob Independent Advisor, I am here to help you to solve your issue.

    Thank you for contacting the community It is a pleasure for us to help you out.

    -

    Please follow this:

    Your question is posted here;

    https://www.brainbell.com/tutorials/ms-office/W...

    https://www.youtube.com/watch?v=OwLRA-xxcJE

    Note: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.

    I hope this helps,

    Please let me know if you have further questions.

    Remember, your feedback will be very welcome.

    Regards,

    Rob

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-04-03T17:54:15+00:00

    Thank you but how do I assure that every field MUST be filled in before saving the form and moving on? Is there a feature that I can use when creating the form?  We want to be sure that all info gets filled in and no fields are missed.  Thanks for your quick response.

    Was this answer helpful?

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2019-04-03T17:40:33+00:00

    Hi, Milo123Guy,

    I am an Independent Advisor.

    Follow these steps to create the form.

    https://support.office.com/en-us/article/Create...

    Was this answer helpful?

    0 comments No comments