RedCape's Blog

Technology Tips

Create a Submit Button in an InfoPath Form to Email Recipients


After a user completes a form, you can create a Submit button configured to instantly send the form by email.

  1. With your form in Design view, click in the area of the form you wish to add the Submit button.
  2. Display the Controls task pane and click the Button control, which places the button in the form.
  3. Double-click the button to launch its properties. On the General tab, the default Action setting is Rules and Custom Code, which is not what we want.

  4. Change the Action drop down box to Submit.

  5. Now click the Submit Options button to launch the Submit Options dialog box.

  6. Click the Allow users to submit this form option.

  7. In the Data Connections widow, click the Add button to add a data connection.

  8. In the Data Connection Wizard, choose Create a new connection to as well as Submit Data and click Next.

  9. Choose As an e-mail message and click Next.

  10. Complete the email fields as seen in this screenshot. If you want to use a field from your form, click the corresponding Insert Formula
    [fx] button in this dialog box. For instance, if you collected the user’s email address on this form, you can include them in the cc field of the email. See step a, below.

    1. When you click the Insert Function button for the Cc: field of the email, you get the Insert Formula dialog box.

    2. In the Select a Field or Group dialog box, choose your emailAddress field you created in your form and click OK twice to get back to the Data Connection wizard.

  11. Once your email address fields, subject and introduction fields are completed, click Next.

  12. Choose Send only the active view of the form and no attachment, then click Next.

  13. You can rename the data connection or accept the default “Email Submit” name. Click Finish.

  14. Now you’re brought back to the Data Connections wizard where you see your Email Submit connection along with a preview of its properties. Click Close.

  15. To complete the setup, click the Ok button in the Button Properties dialog box.

  16. The next step is to Preview the form so that you can test your new Submit button.

Single Post Navigation

2 thoughts on “Create a Submit Button in an InfoPath Form to Email Recipients

  1. Is there any way to embed the completed form in an email, open the email and let the user choose the “To:” recipient? I need to make it easy for people to fill out my form, hit a button and then route the form to the proper person.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: