xformsrequired (option)

Indicates to the XFDL compute system whether or not the bound XForms instance data is required to have a value.

This option is not saved or transmitted as part of the form. Instead, it is automatically created each time the form is read into memory, and is maintained only during display or processing.

Syntax

   <xformsrequired>setting</xformsrequired>
Table 1. xformsrequired parameters
Parameter Type Description
setting on The bound XForms item must have a value.
  off The bound XForms item is not required to have a value. The setting is also off if no binding exists or if the binding resolves to an empty nodeset.

Available in

button, check, combobox, field, label, list, popup, table, pane, checkgroup, radiogroup, richtext, slider

Example

The following example shows an xformsrequired option.

   <xformsrequired>on</xformsrequired>

Usage details

The setting is always off in tables and panes.