Proceed to WirelessDevNet Home Page
Publications, e-books, and more! Community Tutorials Store Downloads, tools, & Freebies! IT Career Center News Home
newnav.gif

Newsletters
EMail Address:



   Content
  - Articles
  - Columns
  - Training
  - Library
  - Glossary
 
   Career Center
  - Career Center Home
  - View Jobs
  - Post A Job
  - Resumes/CVs
  - Resource Center
 
   Marketplace
  - Marketplace Home
  - Software Products
  - Wireless Market Data
  - Technical Books
 
   News
  - Daily News
  - Submit News
  - Events Calendar
  - Unsubscribe
  - Delivery Options
 
   Community
  - Discussion Boards
  - Mailing List
  - Mailing List Archives
 
   About Us
  - About WirelessDevNet
  - Wireless Source Disks
  - Partners
  - About MindSites Group
  - Advertising Information
 
Voice XML Reference Voice XML Reference

Bookmark this page

The filled Element - <filled>

Description:
The filled element specifies an action to perform when some combination of fields are filled by user input. It may occur in two places: as a child of the <form> element, or as a child of a field item. As a child of a <form> element, the <filled> element can be used to perform actions that occur when a combination of one or more fields is filled.


Example:
<form id="get_starting_and_ending_cities">
  <field name="start_city">
    <grammar src="http://www.grammars.example/voicexml/city.gram"/> 
    <prompt>What is the starting city?</prompt>
  </field>
  <field name="end_city">
    <grammar src="http://www.grammars.example/voicexml/city.gram"/>
    <prompt>What is the ending city?</prompt>
  </field>
  <filled mode="any" namelist="start_city end_city">
    <if cond="start_city == end_city">
      <prompt>You can't fly from and to the same city.</prompt>
      <clear/>
    </if>
  </filled>
</form>


Attributes
Name Value Description
mode "all" or "any" Either "all" (default) or "any". If "any", this action is executed when any of the specified fields is filled by the last user input. If "all", this action is executed when all of the mentioned fields are filled, and at least one has been filled by the last user input. A <filled> element in a field item cannot specify a mode.
namelist PCDATA The fields to trigger on. For a <filled> in a form, namelist defaults to the names (explicit and implicit) of the form's field items. A <filled> element in a field item cannot specify a namelist; the namelist in this case is the field item name.


Back to Tag Listing
Sponsors

Search

Eliminate irrelevant hits with our industry-specific search engine!









Wireless Developer Network - A MindSites Group Trade Community
Copyright© 2000-2010 MindSites Group / Privacy Policy
Send Comments to:
feedback@wirelessdevnet.com