ListForm element

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Renders a form for the particular list that is specified by a previous SetList element.

<ListForm
  Type = "DisplayForm" | "EditForm" | "NewForm" | "NewFormDialog">
</ListForm>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Type
Required. Specifies the type of form that is defined.

Can be one of the following values:
DisplayForm — The form used to display an item in a list.
EditForm — The form used to edit an existing item.
NewForm — The form used to create a new item.
NewFormDialog — Used only for document libraries, specifying the form that is used as the property dialog box in client-side applications when a file is saved to a document library.

Child elements

None

Parent elements

Numerous

Occurrences

  • Minimum: 0
  • Maximum: Unbounded

See also