Applies ToInfoPath 2010

With Microsoft InfoPath 2010, you can customize the forms used for creating and editing items in a SharePoint list. By default, when creating or editing items, all of the fields in the list appear in a basic two-column layout table. While this works for some situations, there are others when you want more control over the layout. Also, you can add dynamic behavior to the form.

Using InfoPath to customize a SharePoint list form enables you to re-arrange the controls, such as placing the City and State fields in a user information form side-by-side on the same line. Advanced InfoPath features, such as conditional formatting, can be used to dynamically show or hide sections of a form.

The following videos demonstrate how to customize a SharePoint 2010 list form:

In this article

Open or create the list

There are two ways that you can open a SharePoint list for customization.

Open an existing SharePoint list from within SharePoint

  1. Navigate to the list.

  2. Select the list, and then on the List tab, in the Customize List group, click Customize Form to launch InfoPath and automatically load the list for customization.

Create a new list or open an existing list from within InfoPath

  1. Click File.

  2. Click New, and then select SharePoint List.

  3. Enter the Web address of the SharePoint site in the Data Connection Wizard.

  1. Click Next.

  2. Do one of the following:

    • Customize the form for an existing list

    1. Select Customize an existing SharePoint list, and then select the list that you want to customize.

    2. Click Next.

      • Create a new list and customized form

    3. Select Create a new SharePoint list, and then enter a name for the new list.

    4. Click OK.

  3. Click Finish.

Top of Page

Customize the list in InfoPath

After the new or existing list opens, the form appears as the default SharePoint form with a two-column layout table.

You can now design the form by modifying the layout, rules, and validation. New columns in SharePoint are created by adding new fields to the InfoPath form.

Dynamic behavior is added with control rules.

  • To add a rule to a control, on the Home tab, in the Rules group, click Add Rule.

Rules help to verify that a date is in the future or that text entered in an email address field is in the correct format.

Top of Page

Publish the list back to SharePoint

When finished customizing the list, it must be published to SharePoint.

  1. Click the File tab, and then click Quick Publish to publish the form. Click OK when prompted.

  1. Return to the list, and then add an item to view the completed form.

For another example of customizing SharePoint list forms in InfoPath, starting from SharePoint Designer 2010, see Edit list forms using InfoPath 2010.

Top of Page

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.