Customize options for form submission

If your form template (form template: In InfoPath, a file or set of files that defines the data structure, appearance, and behavior of a form.) is designed so that users can submit their forms when they are finished filling them out, you can customize the Submit command for the form, as well as the behavior of the form after submission.

ShowCustomize the Submit command on the File menu

  1. In design mode, click Submitting Forms on the Tools menu.
  2. In the Submitting Forms dialog box, type the new command name in the Caption box.

 Note   To create an access key (access key: A key combination, such as ALT+F, that moves the focus to a menu, command, or control, without using the mouse.) so that users can use a keyboard shortcut for the command, type an ampersand (&) before the key. The ampersand will not appear in the command name on the menu.

ShowSpecify the form's behavior after it is submitted

After a user submits the form, you can specify whether the form will automatically close, the form will stay open, or a new form will open.

  1. In design mode, click Submitting Forms on the Tools menu.
  2. In the Submitting Forms dialog box, click Submit Options.
  3. In the Submit Options dialog box, do one of the following:
    • To automatically close the form after a user submits it, click Close the form.
    • To open a new copy of the form after a user submits the original form, click Create a new, blank form.
    • To have the form remain open after a user submits it, click Leave the form open.

ShowCustomize the success or failure messages that appear when a form is submitted

  1. In design mode, click Submitting Forms on the Tools menu.
  2. In the Submitting Forms dialog box, click Submit Options.
  3. In the Submit Options dialog box, select the Instead of default message, show custom message check box.
  4. In the Success message box, type the message that you want to appear when the form is successfully submitted.
  5. In the Failure message box, type the message that you want to appear when the form is not successfully submitted.

ShowTip

If you do not want a message to appear when a user submits a form, clear the Show message indicating success or failure check box.

 
 
Applies to:
InfoPath 2003