This documentation is archived and is not being maintained.

Forms Element

SharePoint 2003

The Forms element contains a collection of forms in a base type.

Syntax

<Forms>
</Forms>

Element Relationships

Parent ElementsChild Elements
MetaData Form

Example

The following example outlines the forms definition within the SCHEMA.XML file for announcements lists.

<Forms>
   <Form Type="DisplayForm" Url="DispForm.aspx" WebPartZoneID="Main">
      <ListFormOpening>
         .
         .
         .
      </ListFormOpening>
      <ListFormButtons>
         .
         .
         .
      </ListFormButtons>
      <ListFormBody>
         .
         .
         .
      </ListFormBody>
   </Form>
   <Form Type="EditForm" Url="EditForm.aspx" WebPartZoneID="Main">
      <ListFormOpening>.
         .
         .
         .
      </ListFormOpening>
      <ListFormButtons>
         .
         .
         .
      </ListFormButtons>
      <ListFormBody>
         .
         .
         .
      </ListFormBody>
      <ListFormClosing>
         .
         .
         .
      </ListFormClosing>
   </Form>
   <Form Type="NewForm" Url="NewForm.aspx" WebPartZoneID="Main">
      <ListFormOpening>
         .
         .
         .
      </ListFormOpening>
      <ListFormButtons>
         .
         .
         .
      </ListFormButtons>
      <ListFormBody>
         .
         .
         .
      </ListFormBody>
      <ListFormClosing>
         .
         .
         .
      </ListFormClosing>
   </Form>
</Forms>

Show: