<initial>
<initial>
In a typical mixed initiative form, the <initial>
element is visited when the user is initially being prompted for form-wide information, and has not yet entered into the directed mode where each field is visited individually.
Attributes
name
The name of a form item variable used to track whether the <initial> is eligible to execute. Default is an inaccessible internal variable.
cond
An expression that must evaluate to true after conversion to Boolean in order for the form item to be visited.
expr
The initial value of the form item variable. Default is ECMAScript undefined.
If initialized to a value, then the form item will not be visited unless the form item variable is cleared.
Notes
None
Example
The output of the above script would be:
Computer: Say either dog or cat. Human: Dog. Computer: The dog's name is Lassie. Computer: He is 5 years old. Computer: His fur color is brown.
Child Tags
<audio>, <catch>, <enumerate>, <error>, <help>, <link>, <noinput>, <nomatch>, <prompt>, <property>, <value>
Parent Tags
Last updated