<?xml version="1.0"?>
<!-- @ Copyright 1998-2003 W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/. @ -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
      xmlns:conf="http://www.w3.org/2002/vxml-conformance">

<!--
    If one or more of a form's field item variables are set by user
    input, then all <initial> form item variables within the form
    are set to true, before any <filled> actions are executed.
-->

  <catch>
    <conf:comment>
      Toplevel caught event <value expr="_event"/>
    </conf:comment>
    <conf:fail expr="_event"/>
  </catch>


  <form id="first">
    <conf:grammar utterance="alpha">
      <conf:key name="f1" value="9999"/>
    </conf:grammar>

    <initial name="i1" expr="1234" cond="false">
      <conf:speech value="alpha"/>
    </initial>

    <initial name="i2" expr="1234" cond="true">
      <conf:speech value="alpha"/>
    </initial>

    <initial name="i3" cond="false">
      <conf:speech value="alpha"/>
    </initial>

    <initial name="i4" cond="true">
      <conf:speech value="alpha"/>
    </initial>

    <field name="f1">
      <filled>
        <if cond="i1 == true &amp;&amp; i2 == true &amp;&amp; i3 == true &amp;&amp; i4 == true">
          <conf:pass/>
        </if>
        <conf:fail reason="All initials were not set to true"/>
      </filled>
    </field>

    <block>
      <conf:fail reason="Shouldn't have arrived here."/>
    </block>
  </form>

</vxml>
