ATTRIBOPTIONVTML 2

ATTRIBOPTION defines one possible value for an attribute with a predefined list of possible values.

Location

The ATTRIBOPTION tag can occur only inside an ATTRIB tag of TYPE="Enumerated".

Function

The ATTRIBOPTION tag has three functions:

  1. It inserts a value into the list that appears in the Tag Inspector for the attribute being edited.
  2. It inserts the same value into the list that appears in the Tag Insight window after the attribute has been entered.
  3. It inserts a value into the list of possible attribute values in a Tag Tip.

Syntax and Attributes

<ATTRIBOPTION .../>
VALUE Required. The value which will be written to the document when this option is selected.
CAPTION (Optional) A description of the option to be inserted into the display list. The display defaults to the value of the VALUE attribute if this attribute is omitted.

Usage Notes

While both a Tag Editor and Tag Inspector show the values of the CAPTION attributes as a list of possible values, Tag Insight shows the values of the VALUE attributes in a dropdown list. Thus, if you use the CAPTION to, for instance, indicate which of the possible values for an attribute is the default, this type of information will be hidden when the user uses Tag Insight.

top