Description
Specifies an action to perform when some combination of
input items are filled by user input. After the user's
input is gathered and the relevant input items are set,
the interpreter looks at each <filled> element in document
order. Those whose conditions are matched by the utterance
are then executed in order.
Syntax
<filled
mode="all" | "any"
namelist="item1 item2 ...">
child elements
</filled> |
Attributes
|
Attribute |
Description |
|
mode |
The filled mode. Optional. (Default is all.)
This attribute cannot be defined when |
|
namelist |
The list of input items which will trigger this
This attribute cannot be defined when |
Attribute Notes
error.badfetch event is thrown if
mode or namelist is specified for a
<filled> within an input item (ex. in a
<field>).
Parents
<field>, <form>, <object>, <record>, <subdialog>, <transfer>
Children
<assign>, <audio>, <clear>, <data>, <disconnect>, <exit>, <foreach>, <goto>, <if>, <log>, <prompt>, <reprompt>, <return>, <script>, <submit>, <throw>, <value>, <var>, #PCDATA
Extensions
None.
Limitations/Restrictions
None.
Example
<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<form>
<field name="field1" type="boolean">
<prompt> Please say yes or no. </prompt>
<filled>
You said <value expr="field1"/>.
</filled>
</field>
</form>
</vxml> |