Partager via


ListForm Element

The ListForm element renders a form for the particular list specified by a previous SetList element.

Syntax

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

Attributes

Name 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.