Version 5.9.40

Option

since version 5.9.40

An entry of a choice field (Formfield with type="choice"). The contents (text or Value) is the text shown in the field, value the value that the form data contain. Without value, the text is the value, without text the value is shown.

Child elements

Value

Parent elements

Formfield

Attributes

value (text, optional)
The value of the entry in the form data.

Example

<Formfield type="choice" name="size" value="m">
  <Option value="s">small</Option>
  <Option value="m">medium</Option>
  <Option value="l">large</Option>
</Formfield>

See also

Formfield