TextBox

Top  Previous  Next

TextBox is a special Process Field and it should be placed into a ProcessRecord Element. It cannot be used as an input field and it is not included in the submits. It is provided as an Ajax compatible text element.

  <tr mo:type="ProcessRecord"> 
    <td mo:type="TextBox" mo:name="ORDER_ID" mo:field="true">
      <xsl:value-of select="ORDER_ID" />
    </td>
  </tr>

A hyperlink can be defined on the element as follows.

  <tr mo:type="ProcessRecord"> 
    <td mo:type="TextBox" mo:name="ORDER_ID" mo:field="true">
      <a onclick="OMgr.refreshHref(this)" 
         href="display.doms?pg=OrderDetails&ORDER_ID={ORDER_ID}&_rand=">
        <xsl:value-of select="ORDER_ID" />
      </a>
    </td>
  </tr>

 

See TextBox function class in  MoreMotion Face API.