2.4.2.28 onValue

 The onValue attribute is applicable to a check box control, as specified in section 2.3.1.2. Inclusion of this attribute is based on the offValue attribute, as specified in section 2.4.2.27, as follows:

  • Check box controls MUST contain this attribute in their XSLT representation if the offValue attribute is unspecified.

  • Check box controls MAY contain this attribute in their XSLT representation if the offValue attribute is specified.

Option button controls, as specified in section 2.4.1.14, MAY contain this attribute in their XSLT representation.

All other controls MUST NOT contain this attribute in their XSLT representations.

The value of the onValue attribute MUST be a value that is valid for the XML field's data type.

For the check box control, the value of this attribute MUST be a different string value than the string value specified for the offValue attribute.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="onValue" type="xsd:string"/>