CheckBox

Top  Previous  Next

CheckBox is a Process Field and it can be used inside or outside a ProcessRecord Element.

  <tr mo:type="ProcessRecord"> 
    <td>
      <input type="checkbox" mo:type="CheckBox" name="ACTIVE" />
    </td>
  </tr>

The initial status of a CheckBox (checked or not) can be defined dynamically using XSL code as follows.

  <input type="checkbox" mo:type="CheckBox" name="ACTIVE" >
    <xsl:if test="boolean(ACTIVE = 'true')">
      <xsl:attribute name="checked">checked</xsl:attribute>
    </xsl:if>
  </input>

See CheckBox function class in  MoreMotion Face API.