ComboEditBox

Top  Previous  Next

  <span mo:type="ComboEditBox" mo:name="${fieldName}" mo:value="${value}"  
    mo:props="
      textFieldName   : ${textFieldName}
      srcCombo        : '${srcCombo}'
      openOn          : ${openOn}
      selType         : ${selType}
      search          : ${search}
      novo            : ${novo}
      required        : ${required}
      valHandler      : ${valHandler}
      valErrorHandler : ${valErrorHandler}
     " /> 
    <input name="elm" type="text" />
    <input name="selm" type="hidden" />
 
    <!-- Not required if srcCombo is used -->
    <select name="oelm" disabled="disabled" style="display:none">
      <option value="1">Option 1</option>
      <option value="2">Option 2</option>
      <option value="3">Option 3</option>
    </select>
 
  </span>

 

${fieldName}

The name of the ProcessField

${textFieldName}

The name of the field that keeps the option text

${value}

The initial value of the field. It should include both option value and option text separated with a ";" character

${srcCombo}

The HTML Id of a source select element whose options will be used. In this case no select element used inside the span element.

${openOn}

Opening method for the drop-down box: 1. Focus, 2. Single-Click, 3.Key Stroke

${selType}

Selection Type: 1. Locating, 2. Filtering

${search}

Search: 1. At the first position, 2. At any position

${novo}

Number of visible options in the drop-down box. The default is 10.

${required}

1. None, 2. Text Value, 3. Text and Associated Value, 4. Associated Value, 5. Text Value without an Associated Value

${valHandler}

The name of the validation handler function

${valErrorHandler}

The name of the validation error handler function.

See more...