ComboBox

Top  Previous  Next

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

  <tr mo:type="ProcessRecord"> 
    <td>
      <select mo:type="ComboBox" name="CATEGORY" mo:value="{CATEGORY}"
          mo:props="nonBlank:true, valHandler:MyValHandler, valErrorHandler:MyErrorHandler">
        <option value="1">CAT1</option>
        <option value="2">CAT2</option>
        ...
      </select>
     </td>
  </tr>

The options of the ComboBox can be defined dynamically using XSL code as follows.

  <select mo:type="ComboBox" name="CATEGORY" mo:value="{CATEGORY}">
    <xsl:for-each select="/root/categories/item">
      <option value="{ID}"></xsl:value-of select="NAME"/></option>
    </xsl:for-each>
  </select>

See ComboBox function class in  MoreMotion Face API.

See Validation Properties