<filled>

Contains actions to be executed when fields are filled.

Syntax

 <filled
     mode="any"|"all"
     namelist="variable1 ..."
 >
   Child Elements
 </filled>

Description

A <filled> element can be either the child of an input item or the child of a form.

 •  When used as the child of an input item, the <filled> element has no attributes; its action is taken when the last user input fills the input variable of the containing element.
 •  When used as the child of a form, the <filled> element may have attributes that specify when its action is taken.
Attribute Description
mode

A value of any causes execution of this element when the last user input fills any one of the specified input variables. A value of all causes execution of this element when all specified input variables are filled; the last user input must have filled at least one of the fields. Optional (default value is all).

namelist

Space-separated list of names of the input variables whose filling can trigger this element. Note that names of control items are not permitted in this list. Optional (default is all input variables in the form).

It is an error to specify attributes in a <filled> element within an input item.

Usage

Parents Children
<bevocal:listen>
<bevocal:register>
<bevocal:verify>
<field>
<form>
<record>
<subdialog>
<transfer>

<audio>
<assign>
<bevocal:connect>
<bevocal:dial>
<bevocal:disconnect>
<bevocal:foreach>
<bevocal:hold>
<bevocal:whisper>
<clear>
<data>
<disconnect>
<enumerate>
<exit>
<goto>
<if>
<log>
<prompt>
<reprompt>
<rethrow>
<return>
<script>
<send>
<subdialog>
<submit>
<throw>
<var>
<value>

See Also

 •  VoiceXML 2.0 Specification: <filled>
 •  Related tag: <field>

Examples

 <?xml version="1.0" ?>
 <!DOCTYPE vxml PUBLIC "-//BeVocal Inc//VoiceXML 2.0//EN"
  "http://cafe.bevocal.com/libraries/dtd/vxml2-0-bevocal.dtd">
 
 <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
   <form id="foo">
     <field name="name">
       <prompt> What is your favorite color ? </prompt> 
       <grammar type="application/x-nuance-gsl"> 
         [ red green yellow blue orange ] 
       </grammar>
       <filled>
         <prompt> Your favorite color is <value expr="name"/> </prompt>
       </filled>
     </field>
   </form>
 </vxml>

[Show Frames]   [FIRST] [PREVIOUS] [NEXT]
BeVocal, Inc. Café Home | Developer Agreement | Privacy Policy | Site Map | Terms & Conditions
Part No. 520-0001-02 | © 1999-2007, BeVocal, Inc. All rights reserved | 1.877.33.VOCAL