New to Version 2.0: This is the root tag of all XMod forms as of version 2.0. The old root tag <controls> is now a child of the <form> tag. Currently, the <form> tag has one attribute, used to tell XMod if the layout of the form is a standard format (where XMod creates your form in a table with your control labels in the left column and the controls in the right column) or a custom layout where you pretty much control the look and layout of the form using standard HTML. For more information on creating your own layout, see the <literal> tag page.
Here's an example of a custom layout form - albeit an ugly one ;)
<form format="custom">
<parameters>
<parameter name="uid" alias="UserId" default="-1"></parameter>
</parameters>
<controls>
<literal>
<!--Everything in here is HTML -->
<table style="border: 1px blue solid; width=400px;">
<tr>
<td><h2>Welcome To My Custom Form</h2></td>
</tr>
</table>
<table width="400" cellpadding="3">
<tr>
<td style="background-color:maroon; color:white;">
Your Name:</td>
<td>
</literal>
<input ref="UserName" width="250px" class="NormalTextBox">
<label>Your Name</label>
</input>
<literal>
</td>
</tr>
</table>
</literal>
<hidden ref="CustomerId">{UserId}</hidden>
</controls>
</form>
This is an example of a standard form layout. XMod will put the <label> contents for each control into the left column and the control itself in the right column of a table.
<form>
<controls>
<input ref="Album" width="250px">
<label>Album Title:</label>
<info caption="Help" class="Normal" visibility="visible">Enter the title of the CD, LP, or Cassette</info>
</input>
<input ref="Artist" width="250px">
<label>Artist: </label>
</input>
</controls>
</form>