<controls>

Modified In Version 2.0: This tag used to be the root all XMod forms. It is now  a child of the <form> tag. The <controls> tag has no attributes. It's sole purpose is to contain all the controls and formatting contained in the form.

 

EXAMPLES:

<form format="custom">

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

  </controls>

</form>

 

<form>

  <parameters>

    <parameter name="uid" alias="UserId" default="-1"></parameter>

  </parameters>

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

    <hidden ref="CustomerId">{UserId}</hidden>

  </controls>

</form>