Customize a SharePoint list form

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.

Customize a SharePoint list form

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.

Customize a SharePoint list form

  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
   
  1. Select Create a new SharePoint list, and then enter a name for the new list.
  2. Click OK.
  1. Click Finish.

Top of Page 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.

Customize a SharePoint list form

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.

Customize a SharePoint list 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. For more information on rules, see Introduction to form rules.

Customize a SharePoint list form

Top of Page 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.

Customize a SharePoint list form

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

Customize a SharePoint list 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 Top of Page

 
 
Applies to:
InfoPath 2010