<hidden>

New to Version 2.0 This form control tag allows you to create hidden fields on your form to store data you don't want readily visible to the user of the form. Hidden fields work much like the hidden fields found in HTML forms. Information stored in hidden fields is not visible to the user during the normal course of using the form. However, if he/she views the HTML source of the page, the information will be visible.

 

ATTRIBUTES:

ref

This is the name of the control. It must be unique in the form.

Names must begin with a letter and may only include letters, numbers and the underscore character.

 

EXAMPLE

<hidden ref="MyHiddenField">My invisible data</hidden>

 

The following is an example of placing the value of a parameter into a hidden field so that parameter's data can be stored with the XMod record. The relevant areas are highlighted in red.

 

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