Show All

# About enabling forms to submit data

Microsoft Office InfoPath 2003 allows you to submit data entered into a form to a Web service or a Windows SharePoint Services form library, or as an attachment to an e-mail message.

Set up a connection to a SharePoint Services form library that is enabled for form submission.

To set up a connection to a SharePoint Services form library that is enabled for form submission:

1. On the Tools menu, click Data Connections.
2. Click Add.
3. Click Submit data and then click Next.
4. Click To a SharePoint Form Library and then click Next.
5. In the SharePoint form library box, specify the URL of the SharePoint Services site that contains the form library to which the form will be submitted.
6. In the File Name box, specify the name of the file that will be submitted to the form library.
7. Click Allow overwrite if file exists if you want to allow an existing file with the same name to be overwritten automatically when the form is submitted to the form library.
8. Click Next.
9. In the Summary box, make sure the information matches the options you specified, and then click Finished.

Set up an e-mail message that is enabled for form submission.

To set up an e-mail message that is enabled for form submission:

1. On the Tools menu, click Data Connections.
2. Click Add.
3. Click Submit data and then click Next.
4. Click As an e-mail message and then click Next.
5. Specify the To, Cc, and Bcc recipients, or create an expression to generate the recipient names by clicking the Expression button next to each recipient field.
6. Specify the subject or create an expression to generate the subject by clicking the Expression button next to the Subject field.
7. Specify the Introduction.
8. Specify the attachment name or create an expression to generate the attachment name by clicking the Expression button next to the Attachment Name field.

   Note If you do not specify an attachment name, the form will not be attached to the e-mail message.

9. Click Next.
10. In the Summary box, make sure the information matches the options you specified, and then click Finished.

Set up a connection to a Web service that is enabled for data submission.

See the Help topic, About ADO.NET dataset integration, for more information about setting up a connection to a Web service that is enabled for data submission.
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp