ListForm Element
The ListForm element renders a form for the particular list specified by a previous SetList statement. See example.
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:
|
Related Elements
Parent Elements |
---|
XML |
Example
The following example renders the complete form of the Announcements list.
<ows:XML>
<SetList> Announcements
</SetList>
<SetVar Name="DisplayMode" Scope="Request">
Display
</SetVar>
<ListForm Type="DisplayForm"/>
</ows:XML>