Ir al contenido
Otras versiones

Cargando…

Workflow Option element

Esta página aún no está disponible en tu idioma.

The option element is only used in combination with Workflow Select field. The option value represents a list of distinct values to select.

Attribute Description Required
label The text shown as label in the user interface. true
value Unique value identifier.
Two options can’t have the same value. Value must be unique.
true
selected When present, it specifies that an option should be pre-selected when the form is rendered. false
  • Parent :
  • attribute selected=true, when present, it specifies that an option should be pre-selected when the page loads.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.4//EN"
"http://www.openkm.com/dtd/workflow-forms-2.4.dtd">
<workflow-forms>
<workflow-form task="textarea test">
<select label="select label" name="test" type="simple"> <option label="one" value="001" />
<option label="two" value="002" selected="true" />
<option label="three" value="003" />
</select>
</workflow-form>
</workflow-forms>